USACO 2016 February Contest, Gold Problem 2. Circular Barn Revisited
原题下载 USACO2016-FEB-G2 答案 (Analysis by Nathan Pinsker) Although kk is rather small, trying all possible positions for the doors is O((nk))O((nk)) and is still way too slow. Sometimes it's help...