/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void init()':
/in/foo.cc:41:7: warning: iteration 200009 invokes undefined behavior [-Waggressive-loop-optimizations]
 fac[i]=fac[i-1]*i % mod;
 ~~~~~~^~~~~~~~~~~~~~~~~
/in/foo.cc:40:15: note: within this loop
 for (int i=1;i<=MAXN;i++)
               ^
# 状态 耗时 内存占用
#1 Accepted 6ms 1.75 MiB
#2 Accepted 5ms 1.75 MiB
#3 Accepted 2ms 1.824 MiB
#4 Accepted 5ms 1.75 MiB
#5 Accepted 6ms 1.75 MiB
#6 Accepted 6ms 1.75 MiB
#7 Accepted 6ms 1.75 MiB
#8 Accepted 6ms 1.816 MiB
#9 Accepted 3ms 1.836 MiB
#10 Accepted 6ms 1.75 MiB
#11 Accepted 2ms 1.75 MiB
#12 Accepted 3ms 1.844 MiB
#13 Accepted 2ms 1.836 MiB
#14 Accepted 6ms 1.75 MiB
#15 Accepted 2ms 1.844 MiB
#16 Accepted 3ms 1.816 MiB
#17 Accepted 6ms 1.75 MiB
#18 Accepted 6ms 1.75 MiB
#19 Accepted 2ms 1.75 MiB
#20 Accepted 3ms 1.844 MiB

信息

递交者
类型
递交
题目
P1943 上学路上
语言
C++
递交时间
2017-07-02 10:44:43
评测时间
2017-07-02 10:44:43
评测机
分数
100
总耗时
95ms
峰值内存
1.844 MiB