acm.hdu_1000.c