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

{0, -1, 1}. Divide (in order): 0/-1 -> 0/1 -> 0. Add: 0 - 1 + 1 = 0


also {-1, 1, 1}


Seems not to work as division yields -1 (-1/1/1) and adding them yields +1 (-1+1+1).




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

Search: