记录详情

Wrong Answer

foo.cc: In function 'void Output(std::vector<int>&)':
foo.cc:8:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    8 |         for(int i=0;i<t.size();i++)
      |                     ~^~~~~~~~~
foo.cc: In function 'int Count(std::vector<int>&)':
foo.cc:15:22: 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<s.size();i+=2)
      |                     ~^~~~~~~~~
foo.cc:17:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   17 |                 for(int j=i+1;j<s.size();j+=2)
      |                               ~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 10, expect 7. 2ms 256.0 KiB
#2 Wrong Answer Read 55, expect 17. 4ms 256.0 KiB
#3 Wrong Answer Read 1275, expect 96. 3ms 256.0 KiB
#4 Wrong Answer Read 4950, expect 194. 3ms 256.0 KiB
#5 Wrong Answer Read 122760, expect 984. 2ms 256.0 KiB
#6 Wrong Answer Read 484620, expect 1966. 6ms 512.0 KiB
#7 Wrong Answer Read 1087075, expect 2938. 4ms 384.0 KiB
#8 Wrong Answer Read 1919820, expect 3913. 11ms 384.0 KiB
#9 Wrong Answer Read 2978020, expect 4874. 7ms 384.0 KiB
#10 Wrong Answer Read 7370880, expect 7672. 17ms 384.0 KiB

信息

递交者
类型
递交
题目
4 排序中的交换次数
比赛
2022暑期青少年社团(告别赛)
语言
C++
递交时间
2022-08-21 21:59:34
评测时间
2022-08-21 21:59:34
评测机
分数
0
总耗时
62ms
峰值内存
512.0 KiB