I am trying to compile my code (C++) for the problem PON (prime or not) and am getting the following error:
/sources/tested.cpp:88: error: integer constant is too large for 'long' type
/sources/tested.cpp:90: error: integer constant is too large for 'long' type
/sources/tested.cpp:92: error: integer constant is too large for 'long' type
(For admin) My code submissions were ID 2511880, 2511877, 2511855, 2511817, 2511811 and 2511771..
After searching online i realized this has something to do with usage of unsigned long long in my code, however i didn't manage to find any solutions..
kindly help me!!
//Removed
Thanks!