/ Vijos /

记录详情

Accepted

/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]<<=1;return 0;}if (c[i]%2==0) {c[i]<<=2;return 0;}c[i]<<=3;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]<<=1;return 0;}if (c[i]%2==0) {c[i]<<=2;return 0;}c[i]<<=3;return 0;
                             ^~
# 状态 耗时 内存占用
#1 Accepted 2ms 344.0 KiB
#2 Accepted 2ms 228.0 KiB
#3 Accepted 2ms 344.0 KiB
#4 Accepted 4ms 356.0 KiB
#5 Accepted 2ms 348.0 KiB
#6 Accepted 2ms 356.0 KiB
#7 Accepted 2ms 344.0 KiB
#8 Accepted 3ms 356.0 KiB
#9 Accepted 10ms 424.0 KiB
#10 Accepted 11ms 420.0 KiB

信息

递交者
类型
递交
题目
P1629 八
语言
C++
递交时间
2020-06-14 05:15:23
评测时间
2020-06-14 05:15:23
评测机
分数
100
总耗时
43ms
峰值内存
424.0 KiB