Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Int is usually signed. Unsigned int is not signed.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: