Could someone please explain how to solve this problem: Prime Number
It’s from an old contest and I haven’t been able to find a clearer explanation of the solution. Thank you and please do not ignore if you can solve it and explain.
# | User | Rating |
---|---|---|
1 | tourist | 3857 |
2 | jiangly | 3747 |
3 | orzdevinwang | 3706 |
4 | jqdai0815 | 3682 |
5 | ksun48 | 3591 |
6 | gamegame | 3477 |
7 | Benq | 3468 |
8 | Radewoosh | 3463 |
9 | ecnerwala | 3451 |
10 | heuristica | 3431 |
# | User | Contrib. |
---|---|---|
1 | cry | 167 |
2 | -is-this-fft- | 162 |
3 | Dominater069 | 160 |
4 | Qingyu | 158 |
5 | atcoder_official | 157 |
5 | Um_nik | 157 |
7 | adamant | 151 |
7 | djm03178 | 151 |
7 | luogu_official | 151 |
10 | awoo | 146 |
Editorial didn’t help here
Could someone please explain how to solve this problem: Prime Number
It’s from an old contest and I haven’t been able to find a clearer explanation of the solution. Thank you and please do not ignore if you can solve it and explain.
Rev. | Lang. | By | When | Δ | Comment | |
---|---|---|---|---|---|---|
en5 |
![]() |
100_percent | 2024-11-14 18:18:14 | 69 | ||
en4 |
![]() |
100_percent | 2024-11-14 17:52:12 | 11 | ||
en3 |
![]() |
100_percent | 2024-11-14 17:50:17 | 878 | ||
en2 |
![]() |
100_percent | 2024-11-14 13:59:07 | 2 | Tiny change: 'n[Prime Nunber](http:' -> 'n[Prime Number](http:' | |
en1 |
![]() |
100_percent | 2024-11-14 11:55:20 | 310 | Initial revision (published) |
Name |
---|