/ 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 1ms 360.0 KiB
#2 Accepted 2ms 400.0 KiB
#3 Accepted 3ms 556.0 KiB
#4 Accepted 16ms 1.07 MiB
#5 Accepted 33ms 1.578 MiB
#6 Accepted 293ms 8.359 MiB
#7 Accepted 346ms 9.633 MiB
#8 Accepted 364ms 10.109 MiB
#9 Accepted 407ms 11.402 MiB
#10 Accepted 434ms 12.066 MiB

信息

递交者
类型
递交
题目
P1787 寻宝
语言
C++
递交时间
2021-08-29 20:17:16
评测时间
2021-08-29 20:17:20
评测机
分数
100
总耗时
1905ms
峰值内存
12.066 MiB