记录详情

Wrong Answer

foo.cc: In function 'bool Search(std::vector<int>&, int)':
foo.cc:7:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    7 |         for (int i=0; i<v.size(); i++)
      |                       ~^~~~~~~~~
foo.cc: In function 'void Output(std::vector<int>&)':
foo.cc:15:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   15 |         for(int i=0; i<v.size(); i++)
      |                      ~^~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:43:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   43 |         for (int i=0; i<a.size(); i++)
      |                       ~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 36, expect 38. 7ms 768.0 KiB
#2 Wrong Answer Read 172, expect 178. 11ms 768.0 KiB
#3 Wrong Answer Read 686, expect 778. 36ms 768.0 KiB
#4 Wrong Answer Read 1522, expect 1847. 73ms 768.0 KiB
#5 Wrong Answer Read 759, expect 793. 230ms 888.0 KiB

信息

递交者
类型
递交
题目
3 有两个孩子的家庭个数
比赛
2022暑期青少年社团(告别赛)
语言
C++
递交时间
2022-08-21 22:47:56
评测时间
2022-08-21 22:47:56
评测机
分数
0
总耗时
358ms
峰值内存
888.0 KiB