/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:22:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
      for(int i = 1;i <= n; i++) cin>>dis[i];  dis[n + 1] = l;
      ^~~
/in/foo.cc:22:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
      for(int i = 1;i <= n; i++) cin>>dis[i];  dis[n + 1] = l;
                                               ^~~
# 状态 耗时 内存占用
#1 Accepted 3ms 324.0 KiB
#2 Accepted 2ms 324.0 KiB
#3 Accepted 1ms 316.0 KiB
#4 Accepted 1ms 320.0 KiB
#5 Accepted 1ms 320.0 KiB
#6 Accepted 31ms 708.0 KiB
#7 Accepted 31ms 696.0 KiB
#8 Accepted 33ms 700.0 KiB
#9 Accepted 32ms 704.0 KiB
#10 Accepted 34ms 700.0 KiB

信息

递交者
类型
递交
题目
P1981 跳石头
语言
C++
递交时间
2017-09-17 17:29:46
评测时间
2017-09-17 17:29:46
评测机
分数
100
总耗时
174ms
峰值内存
708.0 KiB