/ 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 29ms 22.367 MiB
#2 Accepted 10ms 22.363 MiB
#3 Accepted 80ms 64.969 MiB
#4 Accepted 125ms 27.625 MiB
#5 Accepted 201ms 65.367 MiB
#6 Accepted 268ms 67.953 MiB
#7 Accepted 295ms 69.738 MiB
#8 Accepted 245ms 69.473 MiB
#9 Accepted 294ms 69.598 MiB
#10 Accepted 341ms 69.984 MiB

信息

递交者
类型
递交
题目
P1827 糖果雨
语言
C++
递交时间
2017-10-22 20:43:31
评测时间
2017-10-22 20:43:31
评测机
分数
100
总耗时
1892ms
峰值内存
69.984 MiB