I am getting the same output for ranges of int and long in my computer(both give 2*10^9), but long long gives correct output. why is size of int as big as long? I use gcc 4.8.1 compiler
std::cout << "Minimum value for long long: " << std::numeric_limits<"long long>::min() << '
std::cout << "Maximum value for long long: " << std::numeric_limits<long long>::max() << '
so generally for numbers less than 10^9 I use int only, today I suffered because of this in the december cook-off