Codeforces Round #503 (by SIS, Div. 1) A. Elections
- Time : O(n∗(n+m)+nlogn)
- Space : O(n+m)
c++
1 |
|