Solved some problems

	think that timus has some errors in test cases
Using bigint