Added SPOJ's ACPC10D.