/ 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:11:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for (j=1;j<=s;j++) for (k=1;k<=b[j];k++) kk*=d[j];if (kk>y) 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:11:55: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     for (j=1;j<=s;j++) for (k=1;k<=b[j];k++) kk*=d[j];if (kk>y) 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 4ms 8.223 MiB
#2 Accepted 4ms 6.215 MiB
#3 Accepted 4ms 8.297 MiB
#4 Wrong Answer 140ms 20.309 MiB
#5 Wrong Answer 5ms 10.219 MiB
#6 Wrong Answer 40ms 18.215 MiB
#7 Wrong Answer 15ms 16.215 MiB
#8 Wrong Answer 74ms 20.293 MiB
#9 Wrong Answer 529ms 22.312 MiB
#10 Wrong Answer 527ms 22.297 MiB

信息

递交者
类型
递交
题目
P1629 八
语言
C++
递交时间
2020-06-14 03:48:17
评测时间
2020-06-14 03:48:17
评测机
分数
30
总耗时
1346ms
峰值内存
22.312 MiB