add poj 3977, wa, did not figure out why