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 1756. One and a Half Diggers

Flint Storman -> Tests [1] // Problem 1756. One and a Half Diggers 16 Sep 2012 18:56
Hope it will help:

5 5 6
5 5 5 5 5 0

2 5 4
3 3 3 1

41 17 16
44 44 44 44 44 44 44 44 44 44 44 44 44 44 44 37

41 17 15
47 47 47 47 47 47 47 47 47 47 47 47 47 47 39

31 13 20
21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 21 4

3 3 6
2 2 2 2 1 0

5 6 4
8 8 8 6

5 2 3
4 4 2

3 2 9
1 1 1 1 1 1 0 0 0

3 4 10
2 2 2 2 2 2 0 0 0 0

2 3 9
1 1 1 1 1 1 0 0 0

6 2 13
1 1 1 1 1 1 1 1 1 1 1 1 0

4 5 10
2 2 2 2 2 2 2 2 2 2
This answers for tests right too.


5 5 6
5 4 4 4 4 4

2 5 4
3 3 2 2

41 17 16
44 44 44 44 44 44 44 44 44 43 43 43 43 43 43 43

41 17 15
47 47 47 47 47 47 47 46 46 46 46 46 46 46 46

31 13 20
21 21 21 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20

3 3 6
2 2 2 1 1 1

5 6 4
8 8 7 7

5 2 3
4 3 3

3 2 9
1 1 1 1 1 1 0 0 0

3 4 10
2 2 1 1 1 1 1 1 1 1

2 3 9
1 1 1 1 1 1 0 0 0