add poj 3977, ac, first sort algorithm wrong, then ignore case n=1 and a[0] very large