Codeforces Beta Round 86 (Div. 1 Only) B. Petr#
- Time : O(|s|+|a|+|b|+|match(s,a)|+|match(s,b)|)
- Space : O(|s|2)
c++
1 |
|