记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:10:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if(n==0) cout<<0;return 0;
  ^~
/in/foo.cc:10:19: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  if(n==0) cout<<0;return 0;
                   ^~~~~~
/in/foo.cc:11:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if(n==1) cout<<0;return 0;
  ^~
/in/foo.cc:11:19: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  if(n==1) cout<<0;return 0;
                   ^~~~~~
/in/foo.cc:12:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if(a[1]>a[2]) a[1]=a[1]-1;b++;a[2]=a[2]+1;b++;
  ^~
/in/foo.cc:12:28: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  if(a[1]>a[2]) a[1]=a[1]-1;b++;a[2]=a[2]+1;b++;
                            ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 208.0 KiB
#2 Wrong Answer 1ms 216.0 KiB
#3 Wrong Answer 1ms 216.0 KiB
#4 Wrong Answer 1ms 216.0 KiB
#5 Runtime Error 1ms 220.0 KiB
#6 Runtime Error 1ms 204.0 KiB
#7 Runtime Error 2ms 216.0 KiB
#8 Runtime Error 2ms 216.0 KiB
#9 Runtime Error 1ms 220.0 KiB
#10 Runtime Error 1ms 204.0 KiB

信息

递交者
类型
递交
题目
P1015 校门内的树
语言
C++
递交时间
2019-07-03 16:41:59
评测时间
2019-07-03 16:41:59
评测机
分数
0
总耗时
19ms
峰值内存
220.0 KiB