ciel(tyama)'s programming contest solutions