/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int abc()':
/in/foo.cc:6:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (c[i]%8==0) return 0;if (c[i]%4==0) {c[i]*=2;return 0;}if (c[i]%2==0) {c[i]*=4;return 0;}c[i]*=8;return 0;
     ^~
/in/foo.cc:6:29: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if (c[i]%8==0) return 0;if (c[i]%4==0) {c[i]*=2;return 0;}if (c[i]%2==0) {c[i]*=4;return 0;}c[i]*=8;return 0;
                             ^~
/in/foo.cc: In function 'int cal(int)':
/in/foo.cc:12:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (!b[0]) return 0;if (jj%2) v-=y/kk;else v+=y/kk;if (kk+1>x) return 0;if (jj%2) u-=(x-1)/kk;else u+=(x-1)/kk;
     ^~
/in/foo.cc:12:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if (!b[0]) return 0;if (jj%2) v-=y/kk;else v+=y/kk;if (kk+1>x) return 0;if (jj%2) u-=(x-1)/kk;else u+=(x-1)/kk;
                         ^~
# 状态 耗时 内存占用
#1 Accepted 2ms 356.0 KiB
#2 Accepted 2ms 348.0 KiB
#3 Accepted 2ms 356.0 KiB
#4 Wrong Answer 15ms 580.0 KiB
#5 Wrong Answer 2ms 480.0 KiB
#6 Wrong Answer 5ms 2.215 MiB
#7 Wrong Answer 3ms 484.0 KiB
#8 Wrong Answer 8ms 564.0 KiB
#9 Wrong Answer 49ms 604.0 KiB
#10 Wrong Answer 45ms 592.0 KiB

信息

递交者
类型
递交
题目
P1629 八
语言
C++
递交时间
2020-06-14 04:34:33
评测时间
2020-06-14 04:34:33
评测机
分数
30
总耗时
137ms
峰值内存
2.215 MiB