How to calculate http://codeforces.me/predownloaded/72/22/72229c1ee97025cc5df1b89399cc826996bdc8f3.jpg this sum? Constraints are 1 ≤ N, M ≤ 2·10^9, and 1 ≤ x ≤ 50;
# | User | Rating |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3821 |
3 | Benq | 3736 |
4 | Radewoosh | 3631 |
5 | jqdai0815 | 3620 |
6 | orzdevinwang | 3529 |
7 | ecnerwala | 3446 |
8 | Um_nik | 3396 |
9 | ksun48 | 3388 |
10 | gamegame | 3386 |
# | User | Contrib. |
---|---|---|
1 | cry | 164 |
1 | maomao90 | 164 |
3 | Um_nik | 163 |
4 | atcoder_official | 161 |
5 | -is-this-fft- | 158 |
6 | awoo | 157 |
7 | adamant | 156 |
8 | TheScrasse | 154 |
8 | nor | 154 |
10 | Dominater069 | 153 |
One problem from Number theory
How to calculate http://codeforces.me/predownloaded/72/22/72229c1ee97025cc5df1b89399cc826996bdc8f3.jpg this sum? Constraints are 1 ≤ N, M ≤ 2·10^9, and 1 ≤ x ≤ 50;
Rev. | Lang. | By | When | Δ | Comment | |
---|---|---|---|---|---|---|
en14 | Mamedov | 2016-08-01 13:19:11 | 0 | (published) | ||
en13 | Mamedov | 2016-08-01 12:29:46 | 0 | Tiny change: ' * 10^{9}$ and $1 \le x ' -> ' * 10^{9}$, $1 \le x ' | ||
en12 | Mamedov | 2016-08-01 12:29:15 | 5 | Tiny change: ' * 10^{9}$ and $1 \le x ' -> ' * 10^{9}$, $1 \le x ' | ||
en11 | Mamedov | 2016-08-01 12:28:46 | 0 | Tiny change: 's 1 second \b\nPlease c' -> 's 1 second.\n\nPlease c' | ||
en10 | Mamedov | 2016-08-01 12:28:28 | 6 | Tiny change: 's 1 second \b\nPlease c' -> 's 1 second.\n\nPlease c' | ||
en9 | Mamedov | 2016-08-01 12:27:25 | 4 | |||
en8 | Mamedov | 2016-08-01 12:24:06 | 8 | Tiny change: ' \bmod M$ this sum?\n\nConst' -> ' \bmod M$ ?\n\nConst' | ||
en7 | Mamedov | 2016-08-01 12:23:41 | 82 | |||
en6 | Mamedov | 2016-08-01 12:22:43 | 49 | |||
en5 | Mamedov | 2016-08-01 12:21:55 | 175 | (saved to drafts) | ||
en4 | Mamedov | 2016-07-31 12:19:53 | 0 | (published) | ||
en3 | Mamedov | 2016-07-31 12:17:47 | 28 | Tiny change: '1 ≤ x ≤ 50;' -> '1 ≤ x ≤ 50.\nPlease can someone help?' | ||
en2 | Mamedov | 2016-07-31 12:09:29 | 0 | Tiny change: 'his sum?\nConstrai' -> 'his sum?\n\nConstrai' (saved to drafts) | ||
en1 | Mamedov | 2016-07-31 12:07:42 | 196 | Initial revision (published) |
Name |
---|