poj_3255 code