记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(t == 100) a[0]++; if(t<100&&t>=90) a[1]++; if(t < 90&&t >=80)a[2]++;
   ^~
/in/foo.cc:11:24: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if(t == 100) a[0]++; if(t<100&&t>=90) a[1]++; if(t < 90&&t >=80)a[2]++;
                        ^~
/in/foo.cc:12:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(t < 80&&t>=70)a[3]++;if(t < 70&&t>=60)a[4]++; else if(t < 60)a[5]++;
   ^~
/in/foo.cc:12:27: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if(t < 80&&t>=70)a[3]++;if(t < 70&&t>=60)a[4]++; else if(t < 60)a[5]++;
                           ^~
/in/foo.cc:14:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(int i = 0; i < 6; i++)
     ^~~
/in/foo.cc:16:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  return 0;
  ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 700.0 KiB
#2 Accepted 9ms 704.0 KiB
#3 Accepted 5ms 312.0 KiB
#4 Accepted 4ms 216.0 KiB
#5 Accepted 5ms 308.0 KiB
#6 Accepted 13ms 308.0 KiB
#7 Accepted 22ms 312.0 KiB
#8 Accepted 15ms 308.0 KiB
#9 Accepted 18ms 308.0 KiB
#10 Accepted 3ms 208.0 KiB

信息

递交者
类型
递交
题目
成绩分档
语言
C++
递交时间
2018-12-23 10:15:46
评测时间
2018-12-23 10:15:46
评测机
分数
100
总耗时
101ms
峰值内存
704.0 KiB