/ 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 26ms 8.477 MiB
#2 Accepted 26ms 8.75 MiB
#3 Accepted 60ms 8.625 MiB
#4 Accepted 25ms 10.0 MiB
#5 Accepted 110ms 8.656 MiB
#6 Accepted 88ms 9.75 MiB
#7 Wrong Answer 94ms 9.223 MiB
#8 Wrong Answer 90ms 9.375 MiB
#9 Wrong Answer 83ms 8.75 MiB
#10 Wrong Answer 111ms 9.0 MiB
#11 Wrong Answer 1675ms 9.5 MiB
#12 Wrong Answer 1674ms 9.625 MiB
#13 Wrong Answer 1639ms 9.367 MiB
#14 Wrong Answer 1650ms 9.711 MiB
#15 Accepted 1684ms 9.25 MiB
#16 Wrong Answer 1642ms 9.211 MiB
#17 Wrong Answer 1546ms 10.125 MiB
#18 Wrong Answer 1616ms 9.855 MiB
#19 Wrong Answer 1514ms 9.75 MiB
#20 Wrong Answer 1723ms 10.152 MiB

信息

递交者
类型
递交
题目
P2023 遗忘的集合
语言
C++
递交时间
2018-03-23 22:43:37
评测时间
2018-03-23 22:43:37
评测机
分数
35
总耗时
17084ms
峰值内存
10.152 MiB