摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=2522学习://除数的运算的应用和算法。除法的本质,如果余数出现重复就表示有循环节 A simple problemTime Limit: 4000/2000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2795Accepted Submission(s): 984 Problem DescriptionZty很痴迷数学问题.。一天,yifenfei出了个数学题想难倒他,让他回答1 / n。但Zt 阅读全文
摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=2523学习哈希和注意i++,后要--i; SORT AGAINTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3479Accepted Submission(s): 1107 Problem Description给你N个整数,x1,x2...xn,任取两个整数组合得到|xi-xj|,(0#include#includeusing namespace std 阅读全文