[2016-2017 ACM-ICPC, South Pacific Regional Contest (SPPC 16)]F False Intelligence

【Codeforces 653E】Bear and Forgotten Tree 2