problem: (F) Team Rocket Rises Again Solution in C/C++Codecraft-17 and Codeforces Round #391 (Div. 1 + Div. 2 Archive