Hacker News new | ask | show | jobs
by poochkoishi728 652 days ago
{0, -1, 1}. Divide (in order): 0/-1 -> 0/1 -> 0. Add: 0 - 1 + 1 = 0
1 comments

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