getting time limit exceed

I have found a constraints like this -1 <= i <= 10^9 in an Online competetion .
so how can i take such a very large integer or store it.
someone please help me .thanks in advance.

check this -

 http://stackoverflow.com/questions/2252896/how-to-store-a-very-long-integer-value-in-a-c-program-for-an-exam-98474737475 

in case of int, you can always use long long

actually it varies from problem to problem

1 Like
//