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

I’m not convinced that solution is much better. It can be improved to x/2 + y/2 (which still gives the wrong answer if both inputs are odd).


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

Search: