atcoder in Python3
codeeval 110, 5 in C++
fix perm