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↵
↵
↵
https://codeforces.me/contest/1433/problem/G
↵
I mean this solution must work no more when 2seconds. Sorry for dont write it↵
↵
↵
https://codeforces.me/contest/1433/problem/G