atcoder 030, codeeval 172, yukicoder 82-84