Search found 2 matches

by guang_1225
Thu Feb 21, 2008 8:42 am
Forum: Volume 5 (500-599)
Topic: 598 - Bundling Newspapers
Replies: 25
Views: 12045

problem solved...

This testcase:

Code: Select all

1

1                      9
1
2
3
4
5
6
7
8
9
10
The output should be:

Code: Select all

Size 1
              9
1
2
3
4
5
6
7
8
9
10

by guang_1225
Tue Feb 19, 2008 7:57 pm
Forum: Volume 5 (500-599)
Topic: 598 - Bundling Newspapers
Replies: 25
Views: 12045

598 WA!

I don't know what's wrong with my program, can any one help?


2

*
1
2
3
4
5
6
7
8
9
10

*
1
2
3
4
5




Size 1
1
2
3
4
5
6
7
8
9
10

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

Go to advanced search