/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int sum(int, int, int)':
/in/foo.cc:27:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (x<0 || y<0) return 0; int k = 0;
     ^~
/in/foo.cc:27:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
     if (x<0 || y<0) return 0; int k = 0;
                               ^~~
/in/foo.cc:28:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (++x > n) x = n+1; if (++y > m) y = m+1;    
     ^~
/in/foo.cc:28:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
     if (++x > n) x = n+1; if (++y > m) y = m+1;    
                           ^~
# 状态 耗时 内存占用
#1 Accepted 11ms 22.328 MiB
#2 Accepted 3ms 2.82 MiB
#3 Accepted 22ms 43.82 MiB
#4 Accepted 122ms 26.199 MiB
#5 Accepted 132ms 50.938 MiB
#6 Accepted 230ms 33.066 MiB
#7 Accepted 283ms 53.949 MiB
#8 Accepted 171ms 45.945 MiB
#9 Accepted 249ms 57.445 MiB
#10 Accepted 306ms 46.199 MiB

信息

递交者
类型
递交
题目
P1827 糖果雨
语言
C++
递交时间
2017-10-22 21:16:28
评测时间
2017-10-22 21:16:28
评测机
分数
100
总耗时
1534ms
峰值内存
57.445 MiB