1138 - Roof

The forum to report every bug you find or tell us what you'd like to find in UVa OJ

Moderator: Board moderators

Post Reply
brianfry713
Guru
Posts: 5947
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

1138 - Roof

Post by brianfry713 »

Input consists of several test cases separated by a blank line. The first line of the input indicates the number of test cases, and it's followed by a blank line.
The sample input should be:

Code: Select all

1

6
13 7 15 6
3 8 7 7
1 7 5 6
5 5 9 3
6 3 8 2
9 6 12 8
Check input and AC output for thousands of problems on uDebug!
Post Reply

Return to “Bugs and suggestions”