4 ms·
Does the `Int` datatype allow negative integers or is it non-negative only? This problem gets much more difficult if you restrict it to positive solutions only.
by ufo 9y ago
Does the `Int` datatype allow negative integers or is it non-negative only? This problem gets much more difficult if you restrict it to positive solutions only.
- samfisher83 9y agoInt is usually signed. Unsigned int is not signed.