hdu1098】的更多相关文章

Hdu-1098解题报告 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1098 题意:已知存在一个等式f(x)=5*x^13+13*x^5+k*a*x,输入一个正整数k(K<1000),要我们找出一个最小的正整数a 使得任意的整数x,满足f(x)%65等于0.如果整数a 不存在,则输出“no”,存在的话就输出a. 思路:采用特值法:当x=1时,f(x)=18+k*a:要使f(x)%65=0,所以只要在1-65的范围内有一个a满足(18+k*a)%…
Ignatius is poor at math,he falls across a puzzle problem,so he has no choice but to appeal to Eddy. this problem describes that:f(x)=5*x^13+13*x^5+k*a*x,input a nonegative integer k(k<10000),to find the minimal nonegative integer a,make the arbitrar…
Ignatius's puzzle Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 9934    Accepted Submission(s): 6959 Problem Description Ignatius is poor at math,he falls across a puzzle problem,so he has no…
POJ题目分类 | POJ题目分类 | HDU题目分类 | ZOJ题目分类 | SOJ题目分类 | HOJ题目分类 | FOJ题目分类 | 模拟题: POJ1006 POJ1008 POJ1013 POJ1016 POJ1017 POJ1169 POJ1298 POJ1326 POJ1350 POJ1363 POJ1676 POJ1786 POJ1791 POJ1835 POJ1970 POJ2317 POJ2325 POJ2390 POJ1012 POJ1082 POJ1099 POJ1114…