F.A.Qs Home ProblemSet Status Ranklist Contest LoginRegister
大视野在线测评-欢迎您
[ New Thread ]
Problem 4161 >> 此题大量程序都是错的吧
zbh2047 @ 2018-02-27 09:57:32
[ Quote ] [ Edit ] [ Delete ] 1#
当k=1时绝大多数程序跑出的结果都是0,提供一组数据:
90 1
2
3
答案应该为3*2^89肯定不是0。
cmd2001 @ 2018-04-10 16:54:57
[ Quote ] [ Edit ] [ Delete ] 2#
我输出的是681571405啊
Edwardfrog @ 2018-04-12 07:09:49
[ Quote ] [ Edit ] [ Delete ] 3#
顶回去
KingSann @ 2019-02-18 23:16:25
[ Quote ] [ Edit ] [ Delete ] 4#
由于实现原因,导致取模的地方没有进循环……于是导致常数项一直为0……于是导致答案成了0*h[0]……于是就是0了……
(特判大法好
[Top] [Previous Page] [Next Page]

HOME Back