/ Vijos /

记录详情

Wrong Answer

foo.cc: In function ‘void solve_1002(int, int, int, std::vector<int>, std::unordered_set<int>, int)’:
foo.cc:42:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   42 |             if(i<pos.size()-1 && pos[i]+T < pos[i+1]) {
      |                ~^~~~~~~~~~~~~
foo.cc:46:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   46 |                 for(int j=i+1;j<pos.size();j++) {
      |                               ~^~~~~~~~~~~
foo.cc:57:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   57 |                 for(int j=i+1;j<pos.size();j++) {
      |                               ~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer Read 14, expect 10. 2ms 324.0 KiB
#2 Wrong Answer Read 19, expect 3. 3ms 768.0 KiB
#3 Wrong Answer Read 0, expect 10. 2ms 536.0 KiB
#4 Wrong Answer Read 101, expect 2. 3ms 536.0 KiB
#5 Wrong Answer Read 3, expect 6. 2ms 576.0 KiB
#6 Wrong Answer Read 2, expect 5. 3ms 324.0 KiB
#7 Wrong Answer Read 69, expect 25. 3ms 552.0 KiB
#8 Wrong Answer Read 32, expect 6. 2ms 536.0 KiB
#9 Wrong Answer Read 19, expect 3. 2ms 536.0 KiB
#10 Wrong Answer Read 34, expect 1. 3ms 536.0 KiB

信息

递交者
类型
递交
题目
P1002 过河
语言
C++
递交时间
2024-09-25 13:44:34
评测时间
2024-09-25 13:44:34
评测机
分数
0
总耗时
29ms
峰值内存
768.0 KiB