Very long number.
Hi, I have this code
unsigned long long number;
cin >> number;
cout << 192 + (number*250) << endl;
where number is (1 < number < 1018
When I enter 1018
the result is not correct.
How can I solve this problem?
well, 1018*250 goes out of range of
unsigned long long.
Topic archived. No new replies allowed.