4 ms·
Ok this is my dumbest time in life xD (I just directly didn't take into consideration that part because it never has overflow...)...
by professorTuring 12y ago
Ok this is my dumbest time in life xD (I just directly didn't take into consideration that part because it never has overflow...)...
- barrkel 12y agoMost people don't appreciate how complicated C's mix of signed and unsigned is, especially when undefined behaviour of signed overflow is included.
- professorTuring 12y agoDefinitely. Child, this is why I always add unit tests.