记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:7:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(a>0) n++;if(a>0) sum1+=a;
   ^~
/in/foo.cc:7:15: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if(a>0) n++;if(a>0) sum1+=a;
               ^~
/in/foo.cc:8:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(a<0) m++;if(a<0) sum2+=a;
   ^~
/in/foo.cc:8:15: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if(a<0) m++;if(a<0) sum2+=a;
               ^~
# 状态 耗时 内存占用
#1 Accepted 4ms 256.0 KiB
#2 Accepted 2ms 256.0 KiB
#3 Accepted 4ms 372.0 KiB
#4 Accepted 3ms 256.0 KiB
#5 Accepted 3ms 344.0 KiB
#6 Accepted 3ms 376.0 KiB
#7 Accepted 3ms 256.0 KiB
#8 Accepted 2ms 256.0 KiB
#9 Accepted 3ms 376.0 KiB
#10 Accepted 3ms 380.0 KiB

信息

递交者
类型
递交
题目
统计正负数
语言
C++
递交时间
2018-07-12 17:33:33
评测时间
2018-07-12 17:33:33
评测机
分数
100
总耗时
35ms
峰值内存
380.0 KiB