记录详情

Wrong Answer

foo.cc: In function 'int FindMinIndex(std::vector<int>&, std::vector<bool>&)':
foo.cc:10:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   10 |     for (int i = minIndex + 1; i < v.size(); i++)
      |                                ~~^~~~~~~~~~
foo.cc: In function 'void solve(std::vector<std::vector<int> >&, std::vector<int>&, int)':
foo.cc:26:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   26 |     for (int i = 1; i < paths.size(); i++)
      |                     ~~^~~~~~~~~~~~~~
foo.cc:30:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   30 |         for (int j = 0; j < length.size(); j++)
      |                         ~~^~~~~~~~~~~~~~~
foo.cc: In function 'void Output(std::vector<std::vector<int> >&)':
foo.cc:41:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   41 |     for (int i = 0; i < v.size(); i++)
      |                     ~~^~~~~~~~~~
foo.cc:43:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   43 |         for (int j = 0; j < v[0].size(); j++)
      |                         ~~^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 8ms 4.125 MiB
#2 Accepted 9ms 4.125 MiB
#3 Wrong Answer Read Inf, expect 2090. 10ms 4.25 MiB
#4 Wrong Answer Read Inf, expect 1117. 12ms 4.125 MiB
#5 Wrong Answer Read Inf, expect 939. 20ms 4.125 MiB

信息

递交者
类型
递交
题目
5 城市中的最短路径
比赛
2022暑期青少年社团(告别赛)
语言
C++
递交时间
2022-08-21 20:43:43
评测时间
2022-08-21 20:43:43
评测机
分数
40
总耗时
61ms
峰值内存
4.25 MiB