/ SUOI /

记录详情

Accepted

/in/foo.cc: In function 'int ksm(int, int)':
/in/foo.cc:25:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(k&1) res=(ll)res*x%mod;return res;
   ^~
/in/foo.cc:25: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:24:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(;k;k>>=1,x=(ll)x*x%mod)
  ^~~
/in/foo.cc:25: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 'int main()':
/in/foo.cc:47: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 Accepted 4ms 4.34 MiB
#2 Accepted 4ms 4.336 MiB
#3 Accepted 7ms 4.336 MiB
#4 Accepted 4ms 4.336 MiB
#5 Accepted 5ms 4.367 MiB
#6 Accepted 5ms 4.25 MiB
#7 Accepted 4ms 4.32 MiB
#8 Accepted 8ms 4.25 MiB
#9 Accepted 207ms 10.723 MiB
#10 Accepted 422ms 17.969 MiB

信息

递交者
类型
递交
题目
#26 XY宏
语言
C++
递交时间
2018-03-15 18:50:31
评测时间
2018-03-15 18:50:31
评测机
分数
100
总耗时
675ms
峰值内存
17.969 MiB