Search found 4 matches

by tsaiid
Wed Jun 05, 2002 9:47 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 110976

Thanks for your help....
Now I think I knew all the rules,
but I don't know why the Judge replied a "Time Limit Exceeded."
Could anyone tell me in what situation will get this result?
Thanks again.
by tsaiid
Tue Jun 04, 2002 1:14 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 110976

sorry...I haven't noticed that block 1 & 2 are in the same stack.

the example I made is a bad one. but what I did want to know is

if the original is set like:

0: 0 1 7 4
1:
2:
3: 2
4: 3 5
5:
6: 6
7:
8: 8

and then execute "move 1 onto 2", what's the result?

0: 0
1:
2: 1
3: 2
4: 3 5 4
5 ...
by tsaiid
Mon Jun 03, 2002 4:32 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 110976

I got Time Limit Exceeded.

I think the problem might be in the main function, but I don't
know exactly where the mistake I made. This is the messages
that the judge sent back:

Your program has used more time (30.090 seconds) than the maximum allowed for this problem by this judge (30 seconds).

and below is my source code ...
by tsaiid
Sun Jun 02, 2002 5:48 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 110976

101 - The Blocks Problem

I have a question that if the original is set like this:

0: 0
1: 7 3 1 4 2
2:
3:
4:
5: 5
6: 6
7:

now if I input "pile 3 over 2", what's the result!?

thanks for your help.

Go to advanced search