How to calculate
1 ≤ N, M ≤ 2 * 109 and 1 ≤ x ≤ 50 this sum? Constraints are 1 ≤ N, M ≤ 2·10^9, and 1 ≤ x ≤ 50 and time limit is 1 second Please can someone help?
# | User | Rating |
---|---|---|
1 | tourist | 3993 |
2 | jiangly | 3743 |
3 | orzdevinwang | 3707 |
4 | Radewoosh | 3627 |
5 | jqdai0815 | 3620 |
6 | Benq | 3564 |
7 | Kevin114514 | 3443 |
8 | ksun48 | 3434 |
9 | Rewinding | 3397 |
10 | Um_nik | 3396 |
# | User | Contrib. |
---|---|---|
1 | cry | 167 |
2 | Um_nik | 163 |
3 | maomao90 | 162 |
3 | atcoder_official | 162 |
5 | adamant | 159 |
6 | -is-this-fft- | 158 |
7 | awoo | 156 |
8 | TheScrasse | 154 |
9 | Dominater069 | 153 |
10 | nor | 152 |
One problem from Number theory
How to calculate
1 ≤ N, M ≤ 2 * 109 and 1 ≤ x ≤ 50 this sum? Constraints are 1 ≤ N, M ≤ 2·10^9, and 1 ≤ x ≤ 50 and time limit is 1 second Please can someone help?
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 |
---|