Codeforces Round #607 (Div. 1) A. Cut and Paste
- Time : O(min(|s|,log(x)))
- Space : O(min(|s|,log(x)))
c++
1 |
|