Really weird how I missed this point in the extra credit of this exercise.
I went back to see what point was it, because I couldn’t remember doing it.
And check this out, I don’t know the exact answer to the other half of the point:
and try to find the number that makes it too big.
Replaced the first one with a 9 and I added a 9 in front of every int and the result was bigger than 4,294,967,295, but the compiler didn’t complain. It was
The entire universe has 6613628092416 bugs.
Then I added lots of 9999999999999999999999999 to each int and it finally complained, but I want to find out the first number that is out of the range in this case.
How did you do that, @meeee?
L.E. Oh, man, wait!
I read carefully this time:
Long unsigned integer type. Capable of containing at least the [0, 4,294,967,295] range
L.E.2: Nope, this is the max limit on my system. I don’t get it.
L.E.3 : I get it now! Each unsigned long has to be greater than the max allowed for the compiler to start screaming, not the result of the operation!
L.E.4 : Nope. Doesn’t scream at all.