That's problem:
Given 2 integer number a and b, and the equation (a / x) + (b / y) = 1. You have to find the number of integer solutions of equation. |a|, |b| <= 10^14.
Here is archive of contest.
# | User | Rating |
---|---|---|
1 | tourist | 3671 |
2 | jiangly | 3653 |
3 | Um_nik | 3629 |
4 | Benq | 3513 |
5 | ksun48 | 3486 |
6 | MiracleFaFa | 3466 |
7 | slime | 3452 |
8 | maroonrk | 3422 |
9 | Radewoosh | 3406 |
10 | greenheadstrange | 3393 |
# | User | Contrib. |
---|---|---|
1 | awoo | 187 |
2 | -is-this-fft- | 182 |
2 | YouKn0wWho | 182 |
4 | Um_nik | 179 |
5 | Monogon | 177 |
6 | antontrygubO_o | 171 |
7 | maroonrk | 165 |
8 | SecondThread | 163 |
9 | adamant | 162 |
9 | SlavicG | 162 |
That's problem:
Given 2 integer number a and b, and the equation (a / x) + (b / y) = 1. You have to find the number of integer solutions of equation. |a|, |b| <= 10^14.
Here is archive of contest.
Name |
---|