http://www.codeforces.com/contest/589/problem/H↵
↵
This is the problem from 2015-2016 ACM-ICPC, NEERC, Southern Subregional Contest (Online Mirror).↵
↵
Thanks.
↵
This is the problem from 2015-2016 ACM-ICPC, NEERC, Southern Subregional Contest (Online Mirror).↵
↵
Thanks.