2017-10-14 yukicoder No.579 3 x N グリッド上のサイクルのサイズ(hard) https://docs.google.com/document/d/19OoHRd9l3ZAYMfPu75GkAIrAyyp9svWdpuey5LH2EO8