My compiler prints "error: integer constant is too large for ‘long’ type", for every large integer in your code.Obaida wrote:Some one please help me i am getting CE constantly...
Consider appending LL suffix to each of them, so that the compiler will treat them as 64-bit integers.
E.g. write 100000000000000LL instead of 100000000000000.
There's a very easy way for you to avoid CEs - install and use gcc compiler to compile your program, like the judge does.I spent so many time on it... But got CE again and again.![]()
![]()
Most Linux distributions include gcc by default, so you may also want to install one of them, too.
If you need to use Windows, try Cygwin, or Mingw (ports of gcc to windows)