2011-12-18 136B. Ternary Logic Codeforces Haskell 概要 3進数の各桁を辻褄合わせていく 最小のものとあるけど一つしかない? ソース https://github.com/mkut/cf/tree/master/01-99/97/136B/haskell.hs 出展 Round #97 Div.2 B