Search found 5 matches

by guitarlover
Sun Jun 18, 2006 8:14 pm
Forum: Volume 1 (100-199)
Topic: 103 - Stacking Boxes
Replies: 200
Views: 50428

Hee, Just watching too much soccer... :D
Anyway, maybe I will notify the admin about this problem. I also notice that many people got WA, I dun know whether it is from this error or not... :-?
by guitarlover
Fri Jun 16, 2006 5:41 pm
Forum: Volume 1 (100-199)
Topic: 103 - Stacking Boxes
Replies: 200
Views: 50428

There should be 2 posibilities:
1 - OJ doesn't cover such a test case.
2 - Test multiple output includes wrong output.

My question is that, how can a program produce a wrong result, can be accepted, because it is a simple case. Keep in mind that for this problem, even multiple output is allowed ...
by guitarlover
Fri Jun 16, 2006 5:10 pm
Forum: Volume 1 (100-199)
Topic: 103 - Stacking Boxes
Replies: 200
Views: 50428

First thing though, please specify the problem number in your post next time.

I believe you are referring to problem 103, which has a yellow tick next to the problem. This means that for an input, it is possible to have more than one correct output as shamim stated in his post.
Dear Ng Chun Yi ...
by guitarlover
Fri Jun 16, 2006 10:59 am
Forum: Volume 1 (100-199)
Topic: 103 - Stacking Boxes
Replies: 200
Views: 50428

Hi,
Tks for reply. Anyway, I can not get what correction program means, and why a program with wrong output got accepted. Just help if you can. Tks a lot. :)
by guitarlover
Thu Jun 15, 2006 7:08 pm
Forum: Volume 1 (100-199)
Topic: 103 - Stacking Boxes
Replies: 200
Views: 50428

103 Funny Judge Problem

Currently, my program got WA.
For this input, my output is correct:
Input:
5 2
41 595
291 836
350 602
483 548
537 624

My Output:
3
1 3 5

However, with an accepted code which I found in this forum, the output is wrong
Output:
2
1 2

Here is the AC code(which produce wrong output for this ...

Go to advanced search