ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1255. Graveyard of the Cosa Nostra

1255 help needed
Posted by hajime 16 Mar 2003 15:39
Hi
Could somebody check this ?
11 12
11 13
11 14
11 15
7 4
-----
1
1
1
0
12

and what is the answer for
10000 997
10000 13

thx a lot.
Re: 1255 help needed
Posted by Tiberiu Danet 16 Mar 2003 20:53
> Hi
> Could somebody check this ?
> 11 12
> 11 13
> 11 14
> 11 15
> 7 4

When n < k, the answer should be 0, not 1.

> 1       -  wrong
> 1       -  wrong
> 1       -  wrong
> 0       -  correct
> 12      -  correct
>
> and what is the answer for
> 10000 997  ---------->  100300
> 10000 13   ---------->  7692307