solved 1002
tried 1006, pass for sample, end to wronganswer :(
solved 1028
Merge branch 'master' of https://github.com/daisy1754/poj