Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Are you able to solve it? (from the teenagers programming contest) (hs.spoj.pl)
1 point by kuszi on Nov 23, 2011 | hide | past | favorite | 3 comments


The official contest is over but you can try out here: http://www.spoj.pl/HSPLARCH/problems/HS11CNSM/


Seems like this is something like P = ((N * M) - (N + M - 1))/K but haven't tried out too many cases.


a solution given by the contestant: http://bit.ly/rTrO87




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

Search: