acm submission on poj