Problem 1003 标程有误?

cgy4ever | 2014-12-27 22:38:55Author
下面这组数据最后一行的输出应该为2^(2^(2^(2^(2^(2^(2^(2^(2^(2^(2^(2^(2^(2^(2^(2^(2^(2^(2^(2^(2^65536)))))))))))))))))))) mod 2333333,用wolframalpha算到的是316963,但是标程在我这里运行得到的是173003。 1 42 65536 2 1 1 1 1 2 1 1 1 1 2 1 1 1 1 2 1 1 1 1 2 1 1 1 1 2 1 1 1 1 2 1 1 1 1 2 1 1 1 1 2 1 1 1 1 2 1 1 1 1 2 1 1 1 1 2 1 1 1 1 2 1 1 1 1 2 1 1 1 1 2 1 1 1 1 2 1 1 1 1 2 1 1 1 1 2 1 1 1 1 2 1 1 1 1 2 1 1 1 1 2 1 1 1 1 http://www.wolframalpha.com/input/?i=2%5E%282%5E%282%5E%282%5E%282%5E%282%5E%282%5E%282%5E%282%5E%282%5E%282%5E%282%5E%282%5E%282%5E%282%5E%282%5E%282%5E%282%5E%282%5E%282%5E%282%5E65536%29%29%29%29%29%29%29%29%29%29%29%29%29%29%29%29%29%29%29%29+mod+2333333
wwt15 | 2014-12-28 10:29:04# 1
RE:标程有误?
我运行得到的也是316963,标程173003
JayYe | 2015-01-03 18:25:27# 2
RE:标程有误?
有个地方的确写错了。。17写成了18,由于生成的数据没有问题,所以测试的时候没测出来,实在不好意思!贴在题解的代码已经改了。
Herobs | 2015-05-22 23:50:22# 3
test....