/ Vijos /

记录详情

Accepted

/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 3ms 256.0 KiB
#2 Accepted 4ms 352.0 KiB
#3 Accepted 45ms 1.059 MiB
#4 Accepted 3ms 256.0 KiB
#5 Accepted 4ms 256.0 KiB
#6 Accepted 3ms 256.0 KiB
#7 Accepted 4ms 256.0 KiB
#8 Accepted 43ms 948.0 KiB
#9 Accepted 46ms 1.52 MiB
#10 Accepted 98ms 9.074 MiB
#11 Accepted 121ms 11.043 MiB
#12 Accepted 135ms 15.059 MiB
#13 Accepted 185ms 21.008 MiB
#14 Accepted 248ms 28.996 MiB
#15 Accepted 32ms 1.004 MiB
#16 Accepted 46ms 1.344 MiB
#17 Accepted 49ms 1.488 MiB
#18 Accepted 52ms 2.258 MiB
#19 Accepted 143ms 15.227 MiB
#20 Accepted 222ms 29.051 MiB

信息

递交者
类型
递交
题目
P2007 蚯蚓
语言
C++
递交时间
2017-04-14 12:44:56
评测时间
2017-04-14 12:44:56
评测机
分数
100
总耗时
1494ms
峰值内存
29.051 MiB