/ dsgsjk /

记录详情

System Error

/in/foo.cc: In function 'void Inv(std::vector<int>&, std::vector<int>&, int)':
/in/foo.cc:32:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(;l<=n+n-2;l<<=1,L++); for(rint i=0;i<l;i++) rev[i]=rev[i>>1]>>1|(i&1)<<(L-1);
  ^~~
/in/foo.cc:32:28: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(;l<=n+n-2;l<<=1,L++); for(rint i=0;i<l;i++) rev[i]=rev[i>>1]>>1|(i&1)<<(L-1);
                            ^~~
/in/foo.cc:33:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(rint i=0;i<n;i++) A[i]=f[i],B[i]=g[i]; ntt(A,l,1); ntt(B,l,1);
  ^~~
/in/foo.cc:33:45: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(rint i=0;i<n;i++) A[i]=f[i],B[i]=g[i]; ntt(A,l,1); ntt(B,l,1);
                                             ^~~
/in/foo.cc:34:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(rint i=0;i<l;i++) A[i]=mns(add(A[i],A[i]),(ll)A[i]*A[i]%mod*B[i]%mod); ntt(A,l,0);
  ^~~
/in/foo.cc:34:77: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(rint i=0;i<l;i++) A[i]=mns(add(A[i],A[i]),(ll)A[i]*A[i]%mod*B[i]%mod); ntt(A,l,0);
                                                                             ^~~
/in/foo.cc: In function 'void solve(int, int, std::vector<int>&, std::vector<int>&)':
/in/foo.cc:42:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(rint i=0;i<f.size();i++) A[i]=f[i]; ntt(A,len,1);
               ~^~~~~~~~~
/in/foo.cc:42:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(rint i=0;i<f.size();i++) A[i]=f[i]; ntt(A,len,1);
  ^~~
/in/foo.cc:42:42: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(rint i=0;i<f.size();i++) A[i]=f[i]; ntt(A,len,1);
                                          ^~~
/in/foo.cc:43:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(rint i=0;i<g.size();i++) B[i]=g[i]; ntt(B,len,1);
               ~^~~~~~~~~
/in/foo.cc:43:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(rint i=0;i<g.size();i++) B[i]=g[i]; ntt(B,len,1);
  ^~~
/in/foo.cc:43:42: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(rint i=0;i<g.size();i++) B[i]=g[i]; ntt(B,len,1);
                                          ^~~
/in/foo.cc:44:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(rint i=0;i<p.size();i++) C[i]=p[i]; ntt(C,len,1);
               ~^~~~~~~~~
/in/foo.cc:44:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(rint i=0;i<p.size();i++) C[i]=p[i]; ntt(C,len,1);
  ^~~
/in/foo.cc:44:42: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(rint i=0;i<p.size();i++) C[i]=p[i]; ntt(C,len,1);
                                          ^~~
/in/foo.cc:45:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(rint i=0;i<q.size();i++) D[i]=q[i]; ntt(D,len,1);
               ~^~~~~~~~~
/in/foo.cc:45:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(rint i=0;i<q.size();i++) D[i]=q[i]; ntt(D,len,1);
  ^~~
/in/foo.cc:45:42: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(rint i=0;i<q.size();i++) D[i]=q[i]; ntt(D,len,1);
                                          ^~~
/in/foo.cc:51:7: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  {if(i<f.size())f[i]=A[i];if(i<g.size())g[i]=B[i];}
      ~^~~~~~~~~
/in/foo.cc:51:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  {if(i<f.size())f[i]=A[i];if(i<g.size())g[i]=B[i];}
                              ~^~~~~~~~~
/in/foo.cc: In function 'void down(int)':
/in/foo.cc:56:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if(a[o].l!=a[o].r) a[o+o].tag=a[o+o+1].tag=a[o].tag; a[o].tag=-1;
  ^~
/in/foo.cc:56:55: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  if(a[o].l!=a[o].r) a[o+o].tag=a[o+o+1].tag=a[o].tag; a[o].tag=-1;
                                                       ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:101:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(rint i=0;i<f.size();i++) A[i]=f[i]; ntt(A,len,1);
               ~^~~~~~~~~
/in/foo.cc:101:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(rint i=0;i<f.size();i++) A[i]=f[i]; ntt(A,len,1);
  ^~~
/in/foo.cc:101:42: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(rint i=0;i<f.size();i++) A[i]=f[i]; ntt(A,len,1);
                                          ^~~
/in/foo.cc:102:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(rint i=0;i<h.size();i++) B[i]=h[i]; ntt(B,len,1);
               ~^~~~~~~~~
/in/foo.cc:102:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(rint i=0;i<h.size();i++) B[i]=h[i]; ntt(B,len,1);
  ^~~
/in/foo.cc:102:42: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(rint i=0;i<h.size();i++) B[i]=h[i]; ntt(B,len,1);
                                          ^~~
/in/foo.cc:103:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(rint i=0;i<len;i++) A[i]=(ll)A[i]*B[i]%mod; ntt(A,len,0);
  ^~~
/in/foo.cc:103:50: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(rint i=0;i<len;i++) A[i]=(ll)A[i]*B[i]%mod; ntt(A,len,0);
                                                  ^~~
/in/foo.cc:104:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(rint i=0;i<=1e5;i++) ans[i]=(ll)A[i]*qpow(n,mod-2)%mod; build(1,m,1);
  ^~~
/in/foo.cc:104:62: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(rint i=0;i<=1e5;i++) ans[i]=(ll)A[i]*qpow(n,mod-2)%mod; build(1,m,1);
                                                              ^~~~~
FormatError('config file not found',)

信息

递交者
类型
递交
题目
P1000 语法入门题
语言
C++
递交时间
2019-03-14 19:34:31
评测时间
2019-03-14 19:34:31
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes