Codeforces Round #467 (Div. 2) B. Vile Grasshoppers
- Time : O((y-p)*min(p,sqrt(n)))
- Space : O(1)
c++
1 |
|