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 |
太恶心了!1.输出只要把小的数字放前边就可以了; 2.答案有1*p的情况,即输入是一个素数(何等的恶心……); 3.能想到枚举s解二次方程的话(x^2+s*x-k*n=0),只要再想到枚举平方数(因为判别式的增长速度很慢,所以平方根几乎不怎么增长),速度不是问题。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator