Rosetta Problems

Free Contest Testing Round 50 - AQUERY

https://oj.vnoi.info/problem/fct050_aquery