/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:27:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  printf("%I64d\n",ans+1);
                        ^
/in/foo.cc:15:9: warning: iteration 100004 invokes undefined behavior [-Waggressive-loop-optimizations]
   two[i]=(two[i-1]<<1)%mod;
   ~~~~~~^~~~~~~~~~~~~~~~~~
/in/foo.cc:14:15: note: within this loop
  for(int i=1;i<=100005;i++){
              ~^~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 7ms 1.0 MiB
#2 Wrong Answer 6ms 1.102 MiB
#3 Wrong Answer 6ms 1.0 MiB
#4 Wrong Answer 5ms 1.0 MiB
#5 Wrong Answer 5ms 1.0 MiB
#6 Wrong Answer 5ms 1.125 MiB
#7 Wrong Answer 6ms 1.094 MiB
#8 Wrong Answer 7ms 1.125 MiB
#9 Wrong Answer 8ms 1.215 MiB
#10 Wrong Answer 7ms 1.219 MiB

信息

递交者
类型
递交
题目
P1922 木姑娘的生日
语言
C++
递交时间
2017-11-07 17:54:28
评测时间
2017-11-07 17:54:28
评测机
分数
0
总耗时
66ms
峰值内存
1.219 MiB