/ MYOJ /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:17:12: warning: iteration 2999999 invokes undefined behavior [-Waggressive-loop-optimizations]
      sum[i]=sum[i-1]*i%Mod;
      ~~~~~~^~~~~~~~~~~~~~~
/in/foo.cc:16:25: note: within this loop
     for(long long i=1; i<=3000000; i++){
                        ~^~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 69ms 23.328 MiB
#2 Wrong Answer 69ms 23.371 MiB
#3 Accepted 69ms 23.312 MiB
#4 Wrong Answer 71ms 23.367 MiB
#5 Wrong Answer 73ms 23.355 MiB
#6 Wrong Answer 75ms 23.375 MiB
#7 Wrong Answer 72ms 23.285 MiB
#8 Wrong Answer 73ms 23.363 MiB
#9 Wrong Answer 76ms 23.367 MiB
#10 Wrong Answer 75ms 23.359 MiB

信息

递交者
类型
递交
比赛
MOIp 2021
语言
C++
递交时间
2021-12-25 21:23:48
评测时间
2021-12-25 21:23:48
评测机
分数
10
总耗时
724ms
峰值内存
23.375 MiB