/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void getln(int*, int*, int)':
/in/foo.cc:46:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(i=n-1;i;i--)b[i]=(ll)b[i-1]*inv[i]%P;b[0]=0;
   ^~~
/in/foo.cc:46:44: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   for(i=n-1;i;i--)b[i]=(ll)b[i-1]*inv[i]%P;b[0]=0;
                                            ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:50:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(inv[0]=inv[1]=1,i=2;i<=N;i++)inv[i]=(ll)(P-inv[P%i])*(P/i)%P;inv2=inv[2];
   ^~~
/in/foo.cc:50:68: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   for(inv[0]=inv[1]=1,i=2;i<=N;i++)inv[i]=(ll)(P-inv[P%i])*(P/i)%P;inv2=inv[2];
                                                                    ^~~~
# 状态 耗时 内存占用
#1 Accepted 16ms 3.25 MiB
#2 Accepted 16ms 4.25 MiB
#3 Accepted 26ms 3.25 MiB
#4 Accepted 26ms 3.359 MiB
#5 Accepted 85ms 4.379 MiB
#6 Accepted 87ms 3.375 MiB
#7 Wrong Answer 93ms 3.375 MiB
#8 Wrong Answer 93ms 3.375 MiB
#9 Wrong Answer 72ms 4.352 MiB
#10 Wrong Answer 96ms 3.375 MiB
#11 Wrong Answer 1706ms 5.289 MiB
#12 Wrong Answer 1579ms 5.254 MiB
#13 Wrong Answer 1659ms 5.289 MiB
#14 Wrong Answer 1682ms 5.375 MiB
#15 Wrong Answer 1596ms 5.215 MiB
#16 Wrong Answer 1622ms 5.293 MiB
#17 Wrong Answer 1650ms 5.25 MiB
#18 Wrong Answer 1605ms 5.25 MiB
#19 Wrong Answer 1588ms 5.281 MiB
#20 Wrong Answer 1364ms 5.348 MiB

信息

递交者
类型
递交
题目
P2023 遗忘的集合
语言
C++
递交时间
2018-03-23 22:42:59
评测时间
2018-03-23 22:42:59
评测机
分数
30
总耗时
16670ms
峰值内存
5.375 MiB