poj_2393 ac code