I am intrested in solution if n <= 1e5 and n — 1 <= m <= min((n-1) * n / 2 , 1e5) and k <= 1000. Is it exist or NP-hard? Thanks
I mean this solution must work no more when 2seconds. Sorry for dont write it
# | User | Rating |
---|---|---|
1 | tourist | 3985 |
2 | jiangly | 3814 |
3 | jqdai0815 | 3682 |
4 | Benq | 3529 |
5 | orzdevinwang | 3526 |
6 | ksun48 | 3517 |
7 | Radewoosh | 3410 |
8 | hos.lyric | 3399 |
9 | ecnerwala | 3392 |
9 | Um_nik | 3392 |
# | User | Contrib. |
---|---|---|
1 | cry | 169 |
2 | maomao90 | 162 |
2 | Um_nik | 162 |
4 | atcoder_official | 161 |
5 | djm03178 | 158 |
6 | -is-this-fft- | 157 |
7 | adamant | 155 |
8 | awoo | 154 |
8 | Dominater069 | 154 |
10 | luogu_official | 150 |
DIV-3 G Can be solved if n <= 1e5?
I am intrested in solution if n <= 1e5 and n — 1 <= m <= min((n-1) * n / 2 , 1e5) and k <= 1000. Is it exist or NP-hard? Thanks
I mean this solution must work no more when 2seconds. Sorry for dont write it
Rev. | Lang. | By | When | Δ | Comment | |
---|---|---|---|---|---|---|
en5 | Stimsly | 2021-09-13 21:08:51 | 25 | Tiny change: 'k <= 1000. Is it exist or NP-hard? Thanks\n\n' -> 'k <= 1000.Thanks\n\n' | ||
en4 | Stimsly | 2020-10-23 16:32:12 | 81 | |||
en3 | Stimsly | 2020-10-23 15:55:31 | 4 | Tiny change: ' <= m <= max((n-1) * n' -> ' <= m <= min((n-1) * n' | ||
en2 | Stimsly | 2020-10-23 15:48:01 | 50 | |||
en1 | Stimsly | 2020-10-23 15:23:00 | 168 | Initial revision (published) |
Name |
---|