/ 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;
                             ^~
# 状态 耗时 内存占用
#1 Accepted 1ms 356.0 KiB
#2 Accepted 1ms 352.0 KiB
#3 Accepted 1ms 356.0 KiB
#4 Wrong Answer 3ms 472.0 KiB
#5 Wrong Answer 1ms 356.0 KiB
#6 Wrong Answer 2ms 480.0 KiB
#7 Wrong Answer 2ms 356.0 KiB
#8 Wrong Answer 3ms 476.0 KiB
#9 Wrong Answer 10ms 528.0 KiB
#10 Wrong Answer 10ms 532.0 KiB

信息

递交者
类型
递交
题目
P1629 八
语言
C++
递交时间
2020-06-14 04:56:49
评测时间
2020-06-14 04:56:49
评测机
分数
30
总耗时
40ms
峰值内存
532.0 KiB