记录详情

Wrong Answer

foo.cc: In function 'int countFor(std::vector<int>&, std::vector<bool>&, int)':
foo.cc:11:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   11 |     while (read < nums.size())
      |            ~~~~~^~~~~~~~~~~~~
foo.cc:14:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   14 |         while (!dp[read] && read < nums.size())
      |                             ~~~~~^~~~~~~~~~~~~
foo.cc:19:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   19 |         if (read == nums.size())
      |             ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB
#2 Accepted 3ms 412.0 KiB
#3 Accepted 4ms 412.0 KiB
#4 Accepted 3ms 412.0 KiB
#5 Accepted 5ms 412.0 KiB
#6 Accepted 3ms 412.0 KiB
#7 Accepted 4ms 284.0 KiB
#8 Wrong Answer Read 4, expect 2. 3ms 412.0 KiB
#9 Accepted 3ms 328.0 KiB
#10 Accepted 3ms 412.0 KiB
#11 Accepted 3ms 412.0 KiB
#12 Accepted 4ms 412.0 KiB
#13 Wrong Answer Read 565, expect 200. 131ms 2.309 MiB
#14 Wrong Answer Read 362, expect 248. 107ms 1.801 MiB
#15 Wrong Answer Read 234, expect 159. 133ms 2.113 MiB
#16 Wrong Answer Read 321, expect 155. 133ms 2.141 MiB
#17 Wrong Answer Read 193, expect 105. 157ms 2.52 MiB
#18 Wrong Answer Read 279, expect 201. 139ms 2.27 MiB
#19 Wrong Answer Read 283, expect 156. 88ms 2.395 MiB
#20 Wrong Answer Read 267, expect 99. 209ms 3.168 MiB

信息

递交者
类型
递交
题目
P1554 Problem 7E. 完美序列
比赛
2023秋 悬赏令第七周
语言
C++
递交时间
2023-11-23 15:27:16
评测时间
2023-11-23 15:27:16
评测机
分数
55
总耗时
1147ms
峰值内存
3.168 MiB