/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:28:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
         for(k=1;k<=lou[i][101];k++)
         ^~~
/in/foo.cc:31:10: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
          if(k>lou[i][101])
          ^~
/in/foo.cc:7:17: warning: unused variable 'ans' [-Wunused-variable]
     int n,m,i,k,ans=0,now,bian,sum=0;
                 ^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 352.0 KiB
#2 Accepted 2ms 424.0 KiB
#3 Accepted 5ms 568.0 KiB
#4 Accepted 30ms 1.016 MiB
#5 Accepted 65ms 1.547 MiB
#6 Accepted 575ms 8.352 MiB
#7 Accepted 681ms 9.688 MiB
#8 Accepted 733ms 10.102 MiB
#9 Accepted 827ms 11.406 MiB
#10 Accepted 839ms 12.082 MiB

信息

递交者
类型
递交
题目
P1787 寻宝
语言
C++
递交时间
2021-12-18 15:53:55
评测时间
2021-12-18 15:53:55
评测机
分数
100
总耗时
3764ms
峰值内存
12.082 MiB