How to calculate ?
Constraints are 1 ≤ N, M ≤ 2 * 109 and 1 ≤ x ≤ 50 and time limit is 1 second Please can someone help?
One problem from Number theory
How to calculate ?
Constraints are 1 ≤ N, M ≤ 2 * 109 and 1 ≤ x ≤ 50 and time limit is 1 second Please can someone help?
Rev. | Язык | Кто | Когда | Δ | Комментарий | |
---|---|---|---|---|---|---|
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) |