记录详情

Wrong Answer

/in/foo.cc: In function 'void resolve(int)':
/in/foo.cc:15:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if(a%i==0)
     ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:30: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:30:2: note: in expansion of macro 'rep'
  rep(i,1,L) pre[i]=pre[i-1]*base;
  ^~~
# 状态 耗时 内存占用
#1 Wrong Answer 14ms 4.234 MiB
#2 Wrong Answer 13ms 4.078 MiB
#3 Accepted 12ms 4.227 MiB
#4 Wrong Answer 11ms 4.23 MiB
#5 Wrong Answer 14ms 4.125 MiB
#6 Accepted 13ms 4.211 MiB
#7 Wrong Answer 10ms 4.246 MiB
#8 Wrong Answer 43ms 7.875 MiB
#9 Wrong Answer 57ms 8.727 MiB
#10 Wrong Answer 29ms 8.234 MiB

信息

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