Codeforces Round 820 (Div. 3) F. Kirei and the Linear Function
- Time : O(|s|+q)
- Space : O(|s|)
c++
1 |
|