Search found 1 match

by goldenge
Fri May 16, 2014 5:48 am
Forum: Volume 1 (100-199)
Topic: 133 - The Dole Queue
Replies: 42
Views: 10653

133 WA despite passing all test cases that I could find

The following algorithm continues to get WA despite testing and correctly solving every sample case I can find/think of. All help is appreciated.

Here's my input and output:

Input --
8 4 6
10 4 3
10 1 1
10 5 5
20 1 1
20 10 10
0 0 0

Output --
4 3, 8 5, 7 1, 6 2
4 8, 9 5, 3 1, 2 6, 10, 7
1 10 ...

Go to advanced search