Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
这个题好难搞啊!先是做了一个2~16381的素数表来brute force,又用汇编写了个64bit mul 64bit mod 64bit来搞miller-rabin和pollard rho,那些0.4k以下0ms的人到底怎么做的?素数表里面1900个素数真是很耗文件长度啊 再次体会到fpu control word的重要性,改了精度设置fild和fprem就不会错,pollard rho就不会死循环了 从前为了数论变换做的handcoded assembly貌似还是对的 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator