Search found 1 match

by Hector
Mon May 16, 2005 4:10 pm
Forum: Volume 1 (100-199)
Topic: 103 - Stacking Boxes
Replies: 200
Views: 50962

TLE testing pattern for 103

Hi,

After getting TLE for my first couple of tries, I have found a problem case for time limit problem. If you are trying to solve this brute force, you might want to use this data to test your code.


<input>
25 1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
24
<output>
24
1 2 3 ...

Go to advanced search