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++){ ~^~~~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1922 木姑娘的生日
- 语言
- C++
- 递交时间
- 2017-11-07 17:54:28
- 评测时间
- 2017-11-07 17:54:28
- 评测机
- 分数
- 0
- 总耗时
- 66ms
- 峰值内存
- 1.219 MiB