摘要:
Description Mathematically some problems look hard. But with the help of the computer, some problems can be easily solvable. In this problem, you will 阅读全文
摘要:
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 阅读全文
摘要:
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 < 阅读全文
摘要:
Problem Description Problem Description Euler is a well-known matematician, and, among many other things, he discovered that the formulan^{2} + n + 41 阅读全文