What is wrong here?

Modified Code
use long long int
everything is correct