随笔分类 - 数论
摘要:Integer PartitionTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 169Accepted Submission(s): 79 Problem DescriptionGiven n, k, calculate the number of different (unordered) partitions of n such that no part is repeated k or more times.InputFirst li
阅读全文
摘要:PartitionTime Limit: 6000/3000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 462Accepted Submission(s): 262 Problem DescriptionHow many ways can the numbers 1 to 15 be added together to make 15? The technical term for what you are asking is the "number of partit
阅读全文
摘要:Prime DistanceTime Limit:1000MSMemory Limit:65536KTotal Submissions:9944Accepted:2677DescriptionThe branch of mathematics called number theory is about properties of numbers. One of the areas that has captured the interest of number theoreticians for thousands of years is the question of primality.
阅读全文
摘要:Arif inDhaka(First Love Part 2)Input:standard inputOutput:standard outputTime Limit:2 secondsOur hero Arif is now inDhaka(Look at problem10244 – First Loveif you want to know more about Arif, but that information is not necessary for this problem. In short, Arif is a brilliant programmer working atI
阅读全文
摘要:Who's Aunt ZhangTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 125 Accepted Submission(s): 108 Problem DescriptionAunt Zhang, well known as 张阿姨, is a fan of Rubik’s cube. One day she buys a new one and would like to color it as a gift to sen
阅读全文

浙公网安备 33010602011771号