记录详情

Wrong Answer

/in/foo.cc: In function 'void resolve(int)':
/in/foo.cc:16:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if(a%i==0)
     ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:31:19: warning: iteration 1000009 invokes undefined behavior [-Waggressive-loop-optimizations]
  rep(i,1,L) pre[i]=pre[i-1]*base;
             ~~~~~~^~~~~~~~~~~~~~
/in/foo.cc:2:35: note: within this loop
 #define rep(i,l,r) for(int i=(l);i<=(r);i++)
                                   ^
/in/foo.cc:31:2: note: in expansion of macro 'rep'
  rep(i,1,L) pre[i]=pre[i-1]*base;
  ^~~
# 状态 耗时 内存占用
#1 Wrong Answer 24ms 7.875 MiB
#2 Wrong Answer 16ms 7.977 MiB
#3 Accepted 18ms 7.973 MiB
#4 Wrong Answer 18ms 7.953 MiB
#5 Wrong Answer 18ms 7.875 MiB
#6 Accepted 26ms 7.977 MiB
#7 Wrong Answer 19ms 8.0 MiB
#8 Wrong Answer 63ms 14.75 MiB
#9 Wrong Answer 55ms 16.184 MiB
#10 Wrong Answer 50ms 15.352 MiB

信息

递交者
类型
递交
题目
Power Strings
题目数据
下载
语言
C++
递交时间
2018-08-21 20:55:29
评测时间
2018-08-21 20:55:29
评测机
分数
20
总耗时
313ms
峰值内存
16.184 MiB