/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'void FFT(cp*, int, int)':
/in/foo.cc:81:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(l=0;(1<<l)<n;l++);n=(1<<l);
  ^~~
/in/foo.cc:81:24: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(l=0;(1<<l)<n;l++);n=(1<<l);
                        ^
/in/foo.cc: In function 'void Inv(int*, int*, int)':
/in/foo.cc:108:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(re int i=0;i<n;++i)if(a[i])a[i]=M-a[i];a[0]+=2;if(a[0]>=M)a[0]-=M;
  ^~~
/in/foo.cc:108:45: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(re int i=0;i<n;++i)if(a[i])a[i]=M-a[i];a[0]+=2;if(a[0]>=M)a[0]-=M;
                                             ^
/in/foo.cc: In function 'char pc(char, bool)':
/in/foo.cc:122:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  return (bj||(*p1++=ch)&&p1==p2)&&fwrite(p1=buf,1,p1-buf,stdout),0;
              ~~~~~~~~~~^~~~~~~~
/in/foo.cc:122:44: warning: operation on 'p1' may be undefined [-Wsequence-point]
  return (bj||(*p1++=ch)&&p1==p2)&&fwrite(p1=buf,1,p1-buf,stdout),0;
                                          ~~^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:135:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  vis[1]=mu[1]=inv[0]=inv[1]=1;
         ~~~~~^~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 79ms 60.297 MiB
#2 Accepted 107ms 64.297 MiB
#3 Accepted 104ms 60.801 MiB
#4 Accepted 107ms 64.301 MiB
#5 Accepted 196ms 62.297 MiB
#6 Accepted 190ms 64.852 MiB
#7 Accepted 160ms 60.379 MiB
#8 Accepted 189ms 60.316 MiB
#9 Accepted 182ms 64.98 MiB
#10 Accepted 182ms 62.32 MiB
#11 Time Exceeded ≥4001ms ≥109.926 MiB
#12 Time Exceeded ≥4000ms ≥111.508 MiB
#13 Time Exceeded ≥4001ms ≥110.426 MiB
#14 Time Exceeded ≥4000ms ≥112.828 MiB
#15 Time Exceeded ≥4002ms ≥111.641 MiB
#16 Time Exceeded ≥4003ms ≥112.996 MiB
#17 Time Exceeded ≥4000ms ≥111.816 MiB
#18 Time Exceeded ≥4000ms ≥113.125 MiB
#19 Time Exceeded ≥4002ms ≥110.773 MiB
#20 Time Exceeded ≥4005ms ≥112.387 MiB

信息

递交者
类型
递交
题目
P2023 遗忘的集合
语言
C++
递交时间
2020-05-10 12:10:21
评测时间
2020-05-10 12:11:20
评测机
分数
50
总耗时
≥41521ms
峰值内存
≥113.125 MiB