POJ#1990 *SORT, and binary index tree to do quick sum. Rank:10391