Dear Friends,
May someone give some hints about solving this problem?
My idea is this:
1- First I fill boundary squares. boundary must have some consecutive '#' and then 'O'. This will improve solution speed, very much.
2- Then I try to fill left squares of board with attention to 2X2 same color ...
Search found 2 matches
- Tue Mar 02, 2004 6:28 pm
- Forum: Volume 105 (10500-10599)
- Topic: 10572 - Black & White
- Replies: 1
- Views: 1795
- Mon Mar 01, 2004 11:19 am
- Forum: Volume 100 (10000-10099)
- Topic: 10021 - Cube in the labirint
- Replies: 17
- Views: 5890
10021-Cube in labirint WA!
I don't know why but it doesn't matter how hard you try!
I got WA for countless times, but I really don't know why. :cry: :(
It's clear this is a simple BFS. I test many samples but It seems It's O.K.
may someone help with some special testcases!!!
(you can count on me for your next dinner! :lol: )
I got WA for countless times, but I really don't know why. :cry: :(
It's clear this is a simple BFS. I test many samples but It seems It's O.K.
may someone help with some special testcases!!!
(you can count on me for your next dinner! :lol: )