摘要: Description Mathematically some problems look hard. But with the help of the computer, some problems can be easily solvable. In this problem, you will 阅读全文
posted @ 2019-08-13 23:52 昏后一缕阳光 阅读(199) 评论(0) 推荐(0) 编辑
摘要: Problem Description Problem Description Given two positive integers G and L, could you tell me how many solutions of (x, y, z) there are, satisfying t 阅读全文
posted @ 2019-08-13 23:26 昏后一缕阳光 阅读(179) 评论(0) 推荐(0) 编辑
摘要: Problem Description 要求(A/B)%9973,但由于A很大,我们只给出n(n=A%9973)(我们给定的A必能被B整除,且gcd(B,9973) = 1)。 Input 数据的第一行是一个T,表示有T组数据。 每组数据有两个数n(0 <= n < 9973)和B(1 <= B < 阅读全文
posted @ 2019-08-13 10:34 昏后一缕阳光 阅读(226) 评论(0) 推荐(0) 编辑
摘要: Problem Description Problem Description Euler is a well-known matematician, and, among many other things, he discovered that the formulan^{2} + n + 41 阅读全文
posted @ 2019-08-13 00:21 昏后一缕阳光 阅读(240) 评论(0) 推荐(0) 编辑