记录详情

Wrong Answer

foo.cc: In function 'void Output(std::vector<int>&)':
foo.cc:9:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    9 |  for(int i=0; i<v.size(); i++)
      |               ~^~~~~~~~~
foo.cc: In function 'int FindMin(std::vector<int>&)':
foo.cc:17:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   17 |  for(int i=0; i<s.size(); i++)
      |               ~^~~~~~~~~
foo.cc: In function 'int ANS(std::vector<int>&)':
foo.cc:28:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   28 |  for(int k=0; k<v.size(); k++)
      |               ~^~~~~~~~~
foo.cc:30:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   30 |   for(int i=k+1; i<v.size(); i++)
      |                  ~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 1d0 < 5827 66276 62902 82857 6 5ms 384.0 KiB
#2 Wrong Answer 1d0 < 31165 30265 13429 16298 4ms 384.0 KiB
#3 Wrong Answer 1d0 < 17766 6327 2651 21412 60 7ms 384.0 KiB
#4 Wrong Answer 1d0 < 71646 52939 88059 39455 8ms 384.0 KiB
#5 Wrong Answer 1d0 < 4777 24738 59087 67093 2 54ms 504.0 KiB

信息

递交者
类型
递交
题目
4-1 旅游住处
语言
C++
递交时间
2022-08-09 13:29:38
评测时间
2022-08-09 13:29:38
评测机
分数
0
总耗时
80ms
峰值内存
504.0 KiB