Are you able to solve it? (from the teenagers programming contest) (hs.spoj.pl) 1 points by kuszi 14y ago ↗ HN
[–] kuszi 14y ago ↗ The official contest is over but you can try out here: http://www.spoj.pl/HSPLARCH/problems/HS11CNSM/
[–] _THE_PLAGUE 14y ago ↗ Seems like this is something like P = ((N * M) - (N + M - 1))/K but haven't tried out too many cases. [–] kuszi 14y ago ↗ a solution given by the contestant: http://bit.ly/rTrO87
3 comments
[ 2.8 ms ] story [ 16.0 ms ] thread