Search found 5 matches

by redroof
Sun Oct 12, 2008 7:30 am
Forum: Volume 115 (11500-11599)
Topic: 11501 - Laurel Creek
Replies: 6
Views: 2285

Re: 11501 - Laurel Creek

Code: Select all

....S...S..
........|..
B-----S.|.E
......|.|..
......|.S..
......|....
....S-S....
I don't know how you process with only the information of stumps. But try the above case.
by redroof
Wed Oct 01, 2008 2:38 pm
Forum: Volume 115 (11500-11599)
Topic: 11505 - Logo
Replies: 8
Views: 15199

Re: WA-11505-LOGO

try to change your PI to a more precise one:

Code: Select all

#define PI 0.01745329251994329914588889
by redroof
Tue Sep 30, 2008 12:35 am
Forum: Volume 115 (11500-11599)
Topic: 11501 - Laurel Creek
Replies: 6
Views: 2285

Re: 11501 - Laurel Creek

I use BFS. Considering the available slots where the log can be picked up or put down, the state space is not that big. Because there are at most 15 stumps with limited row and column size(<= 15) and logs only exist between stumps, the following case is the one that comes with the greatest number of ...
by redroof
Mon Sep 29, 2008 3:29 am
Forum: Volume 115 (11500-11599)
Topic: 11501 - Laurel Creek
Replies: 6
Views: 2285

Re: 11501 - Laurel Creek

Got AC. Actually we don't need to consider the above case. My ac code assumes all logs are connected by two stumps.
by redroof
Sun Sep 28, 2008 12:55 pm
Forum: Volume 115 (11500-11599)
Topic: 11501 - Laurel Creek
Replies: 6
Views: 2285

11501 - Laurel Creek

A clarification question -- Can we pick up the log (length == 1) in the figure below? (suppose we stand on 'B')

Code: Select all

....
.B.S
.|..
...E
If yes, we have a path to traverse from B to E, otherwise not. thanks.

Go to advanced search