con un long long int dovresti risolvere...