记录详情

Wrong Answer

foo.cc: In function 'int Search(std::vector<int>&, int)':
foo.cc:6:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    6 |         for(int i=0;i<v.size();i++)
      |                     ~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Accepted 1ms 256.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Accepted 1ms 384.0 KiB
#5 Wrong Answer Read 2, expect 1. 1ms 256.0 KiB
#6 Accepted 1ms 256.0 KiB
#7 Wrong Answer Read 6, expect 3. 1ms 256.0 KiB
#8 Wrong Answer Read 4, expect 2. 2ms 256.0 KiB
#9 Wrong Answer Read 4, expect 1. 2ms 256.0 KiB
#10 Wrong Answer Read 2, expect 2. 2ms 256.0 KiB
#11 Wrong Answer Read 3, expect 2. 1ms 256.0 KiB
#12 Wrong Answer Read 3, expect 4. 1ms 256.0 KiB
#13 Wrong Answer Read 4, expect 3. 1ms 256.0 KiB
#14 Wrong Answer Read 3, expect 2. 1ms 256.0 KiB
#15 Wrong Answer Read 6, expect 4. 1ms 256.0 KiB
#16 Wrong Answer Read 12, expect 1. 1ms 256.0 KiB
#17 Wrong Answer Read 9, expect 8. 1ms 256.0 KiB
#18 Wrong Answer Read 2, expect 2. 1ms 256.0 KiB
#19 Wrong Answer Read 5, expect 4. 1ms 256.0 KiB
#20 Wrong Answer Read 10, expect 2. 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1234 D 奇怪的程序(Easy)
比赛
2022暑期青少年社团(告别赛)
语言
C++
递交时间
2022-08-21 22:42:18
评测时间
2022-08-21 22:42:18
评测机
分数
25
总耗时
32ms
峰值内存
384.0 KiB