/ SUOI /

记录详情

Wrong Answer

/in/foo.cc: In function 'int ksm(int, int)':
/in/foo.cc:24:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(k&1) res=(ll)res*x%mod;return res;
   ^~
/in/foo.cc:24:29: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if(k&1) res=(ll)res*x%mod;return res;
                             ^~~~~~
/in/foo.cc:23:12: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  int res=1;for(;k;k>>=1,x=(ll)x*x%mod)
            ^~~
/in/foo.cc:24:29: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   if(k&1) res=(ll)res*x%mod;return res;
                             ^~~~~~
/in/foo.cc: In function 'void ntt(int*, int)':
/in/foo.cc:30:29: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   int wn=ksm(G,f==1?mod-1>>i+1:mod-1-(mod-1>>i+1));
                            ~^~
/in/foo.cc:30:47: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   int wn=ksm(G,f==1?mod-1>>i+1:mod-1-(mod-1>>i+1));
                                              ~^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:46:49: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
  for(int i=0;i<n;++i) R[i]=(R[i>>1]>>1)|(i&1)<<L-1;
                                                ~^~
# 状态 耗时 内存占用
#1 Wrong Answer 4ms 4.352 MiB
#2 Wrong Answer 3ms 4.25 MiB
#3 Wrong Answer 3ms 4.25 MiB
#4 Wrong Answer 2ms 4.375 MiB
#5 Wrong Answer 3ms 4.371 MiB
#6 Wrong Answer 4ms 4.355 MiB
#7 Wrong Answer 3ms 4.352 MiB
#8 Wrong Answer 4ms 4.359 MiB
#9 Wrong Answer 174ms 10.969 MiB
#10 Wrong Answer 330ms 16.613 MiB

信息

递交者
类型
递交
题目
#26 XY宏
语言
C++
递交时间
2018-03-15 17:20:06
评测时间
2018-03-15 17:20:06
评测机
分数
0
总耗时
537ms
峰值内存
16.613 MiB