/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:12:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for (i=1;i<=n;i++) scanf("%d",&a[i]); sort(a+1,a+n+1,cmp);
  ^~~
/in/foo.cc:12:40: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for (i=1;i<=n;i++) scanf("%d",&a[i]); sort(a+1,a+n+1,cmp);
                                        ^~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 356.0 KiB
#2 Accepted 2ms 256.0 KiB
#3 Accepted 30ms 1.121 MiB
#4 Accepted 1ms 324.0 KiB
#5 Accepted 4ms 256.0 KiB
#6 Runtime Error 1ms 304.0 KiB
#7 Accepted 4ms 256.0 KiB
#8 Accepted 25ms 912.0 KiB
#9 Accepted 35ms 1.48 MiB
#10 Accepted 79ms 9.035 MiB
#11 Accepted 94ms 11.039 MiB
#12 Accepted 115ms 15.062 MiB
#13 Accepted 174ms 20.992 MiB
#14 Accepted 206ms 29.031 MiB
#15 Accepted 24ms 972.0 KiB
#16 Accepted 28ms 1.262 MiB
#17 Accepted 32ms 1.469 MiB
#18 Accepted 43ms 2.363 MiB
#19 Runtime Error 41ms 4.219 MiB
#20 Runtime Error 33ms 3.488 MiB

信息

递交者
类型
递交
题目
P2007 蚯蚓
语言
C++
递交时间
2017-04-14 12:32:41
评测时间
2017-04-14 12:35:05
评测机
分数
85
总耗时
983ms
峰值内存
29.031 MiB