/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:16:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for (int i=1;i<=n;i++) 
   ^~~
/in/foo.cc:18:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
    printf("%d",m); return 0; 
    ^~~~~~
/in/foo.cc:24:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for (int i=1;i<=n;i++)  
  ^~~
/in/foo.cc:26:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   m+=w; 
   ^
# 状态 耗时 内存占用
#1 Accepted 4ms 724.0 KiB
#2 Accepted 3ms 768.0 KiB
#3 Accepted 3ms 728.0 KiB
#4 Accepted 3ms 760.0 KiB
#5 Accepted 3ms 748.0 KiB
#6 Accepted 3ms 640.0 KiB
#7 Accepted 4ms 760.0 KiB
#8 Accepted 3ms 736.0 KiB
#9 Accepted 4ms 752.0 KiB
#10 Accepted 3ms 764.0 KiB

信息

递交者
类型
递交
题目
P1002 过河
语言
C++
递交时间
2018-08-25 10:45:44
评测时间
2018-08-25 10:45:44
评测机
分数
100
总耗时
38ms
峰值内存
768.0 KiB