modify the type of ans to long long in uva11300