top | item 3271687

Are you able to solve it? (from the teenagers programming contest)

1 points| kuszi | 14 years ago |hs.spoj.pl | reply

3 comments

order
[+] _THE_PLAGUE|14 years ago|reply
Seems like this is something like P = ((N * M) - (N + M - 1))/K but haven't tried out too many cases.