Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Are you able to solve it? (from the teenagers programming contest) | Better HN
Are you able to solve it? (from the teenagers programming contest)
(hs.spoj.pl)
1 points · by
kuszi
· 15y ago · 3 comments
Comments
[–]
kuszi
OP
15y ago
The official contest is over but you can try out here:
http://www.spoj.pl/HSPLARCH/problems/HS11CNSM/
[–]
_THE_PLAGUE
15y ago
Seems like this is something like P = ((N * M) - (N + M - 1))/K but haven't tried out too many cases.
[–]
kuszi
OP
15y ago
a solution given by the contestant:
http://bit.ly/rTrO87