2006-11-15 Tree's a Crowd uva http://acm.uva.es/p/v1/152.htmlちょwwww brute forceで行けちゃいました。というかSTL遅すぎ。cだと3秒でacなのにc++&stlだとtleて。