/ Vijos /

记录详情

Accepted

foo.cpp: In function 'int main()':
foo.cpp:8:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=1;i<=m;i++)scanf("%d",a+i);std::sort(a+1,a+m+1);
  ^~~
foo.cpp:8:39: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(int i=1;i<=m;i++)scanf("%d",a+i);std::sort(a+1,a+m+1);
                                       ^~~
# 状态 耗时 内存占用
#1 Accepted 0ms 876.0 KiB
#2 Accepted 0ms 892.0 KiB
#3 Accepted 0ms 804.0 KiB
#4 Accepted 0ms 880.0 KiB
#5 Accepted 0ms 884.0 KiB
#6 Accepted 0ms 888.0 KiB
#7 Accepted 0ms 888.0 KiB
#8 Accepted 0ms 884.0 KiB
#9 Accepted 0ms 888.0 KiB
#10 Accepted 0ms 876.0 KiB

信息

递交者
类型
递交
题目
P1002 过河
语言
C++
递交时间
2017-03-03 18:03:25
评测时间
2017-03-03 18:03:26
评测机
分数
100
总耗时
0ms
峰值内存
892.0 KiB