Arpa and a game with Mojtaba

Problem Name:
Arpa and a game with Mojtaba
Site:CodeForces
Links:
Tags:
Problem setters: