F.A.Qs Home ProblemSet Status Ranklist Contest LoginRegister
Notice:1:五月份月赛定于5.27日12:30--17:30,欢迎大家来玩! 2:关于OJ的注册可看https://www.lydsy.com/JudgeOnline/wttl/thread.php?tid=5671
大视野在线测评-欢迎您
[ New Thread ]
Problem 2693 >> 100000009不是质数!!!坑死了。。。
recordmp3 @ 2016-02-21 21:19:07
[ Quote ] [ Edit ] [ Delete ] 1#
100000009不是质数!!!坑死了。。。
NiroBC @ 2016-06-03 14:40:34
[ Quote ] [ Edit ] [ Delete ] 2#
重点在于是1e8+9不是1e9+9..
我这个傻子就写了const long long MOD = 1000000009;
'_'
un262594 @ 2017-12-14 16:49:47
[ Quote ] [ Edit ] [ Delete ] 3#
上面两个错误我都犯了……一开始看错模数,后来快速幂求逆元……
[Top] [Previous Page] [Next Page]

HOME Back