| 시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
|---|---|---|---|---|---|
| 1 초 | 1024 MB | 12 | 4 | 4 | 33.333% |
As taken from Wikipedia:
The abc conjecture (also known as the Oesterlé–Masser conjecture) is a conjecture in number theory, first proposed by Joseph Oesterlé (1988) and David Masser (1985). It is stated in terms of three positive integers,a,bandc(hence the name) that are relatively prime and satisfya + b = c. Ifddenotes the product of the distinct prime factors ofa * b * c, the conjecture essentially states thatdis usually not much smaller thanc. In other words: ifaandbare composed from large powers of primes, thencis usually not divisible by large powers of primes.
The abc conjecture has already become well known for the number of interesting consequences it entails. Many famous conjectures and theorems in number theory would follow immediately from the abc conjecture. Goldfeld (1996) described the abc conjecture as "the most important unsolved problem in Diophantine analysis."
Several solutions have been proposed to the abc conjecture, the most recent of which is still being evaluated by the mathematical community.
To simplify the rules:
a, b, and c are positive integers.a, b, and c are composed of distinct prime factors.To illustrate the terms used, if
a = 16 = 24,
b = 17, and
c = 16 + 17 = 33 = 3 * 11, then
d = 2 * 17 * 3 * 11 = 1122,
which is greater than c.
The goal in this programming problem is to find the exceptions where c > d, on a given range for a, b, and c.
The first line of input contains N (0 < N < 100), indicating the number of test cases.
The following N lines each consist of two integers L H (2 ≤ L ≤ H ≤ 5000), denoting the lower and upper bounds of a, b, and c (L ≤ a, b < c ≤ H where a != b).
For each test case, output either:
a + b = c" for each equation that satisfies the above criteria. These should be sorted in ascending order by c, then by ascending order by a if there are multiple equations with the same value for c; orNo exceptions" if there are no equations that satisfy the above criteria,followed by a blank line.
2 5 120 6 80
5 + 27 = 32 27 + 5 = 32 32 + 49 = 81 49 + 32 = 81 No exceptions