记录详情

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]*(ULL)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]*(ULL)base;
  ^~~
# 状态 耗时 内存占用
#1 Wrong Answer 19ms 7.875 MiB
#2 Wrong Answer 18ms 7.945 MiB
#3 Accepted 19ms 7.949 MiB
#4 Wrong Answer 23ms 7.875 MiB
#5 Wrong Answer 22ms 7.875 MiB
#6 Accepted 15ms 7.969 MiB
#7 Wrong Answer 18ms 8.0 MiB
#8 Wrong Answer 54ms 14.75 MiB
#9 Wrong Answer 39ms 16.113 MiB
#10 Wrong Answer 45ms 15.344 MiB

信息

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