Codeforces Round #741 (Div. 2) C. Rings
- Time : O(|s|)
- Space : O(1)
c++
1 |
|