i need some test case for the problem 11049(Basic wall maze).
plz help me.this problem seems to be an ez one but i got WA!!!!
11049 - Basic wall maze
Moderator: Board moderators
11049 - Basic wall maze
khobaib
-
- A great helper
- Posts: 481
- Joined: Sun Jun 19, 2005 1:18 am
- Location: European Union (Slovak Republic)
Re: 11049 need some test cases
Try these:lovemagic wrote:i need some test case for the problem 11049(Basic wall maze).
plz help me.this problem seems to be an ez one but i got WA!!!!
Code: Select all
3 6
6 2
0 3 3 3
1 2 6 2
0 4 4 4
1 1
1 6
0 6 5 6
0 5 5 5
0 3 4 3
5 6
1 6
3 1 3 5
1 1 5 1
1 1 1 6
2 6
6 2
2 6 5 6
0 3 4 3
1 2 6 2
3 4
6 1
0 3 5 3
1 2 6 2
0 5 5 5
5 3
1 6
6 2 6 6
1 2 1 6
3 0 3 5
3 5
6 1
0 3 4 3
1 5 2 5
1 1 6 1
6 6
4 1
5 1 5 6
4 0 4 5
1 4 4 4
1 1
6 3
5 0 5 4
1 0 1 5
2 1 2 6
5 5
1 4
3 1 3 6
2 0 2 5
1 1 1 6
0 0
Code: Select all
EENNWNWWWNEEEEE
EEEEESSSSSWWWWW
ENNNNNWWWWWSSSSS
EEENNNWWWWNEEEEE
EEENWWWWWNEEEEEN
WSSSWWNNNNWSSSS
EENNWWWWNNEEEEE
NNNNNWSSSSSWWWWNNEEENNN
SSSSSENNNNNEEESSSSENN
WNNNNWSSSSSWNNNNNWSSS
Re: 11049 need some test cases
Try these:
My AC's output:
[/quote]
hi, my output on your input is:
I think it is correct output too but I still have WA on this problem ![:(](./images/smilies/icon_frown.gif)
Is there any tricky inputs?
help please..
Code: Select all
3 6
6 2
0 3 3 3
1 2 6 2
0 4 4 4
1 1
1 6
0 6 5 6
0 5 5 5
0 3 4 3
5 6
1 6
3 1 3 5
1 1 5 1
1 1 1 6
2 6
6 2
2 6 5 6
0 3 4 3
1 2 6 2
3 4
6 1
0 3 5 3
1 2 6 2
0 5 5 5
5 3
1 6
6 2 6 6
1 2 1 6
3 0 3 5
3 5
6 1
0 3 4 3
1 5 2 5
1 1 6 1
6 6
4 1
5 1 5 6
4 0 4 5
1 4 4 4
1 1
6 3
5 0 5 4
1 0 1 5
2 1 2 6
5 5
1 4
3 1 3 6
2 0 2 5
1 1 1 6
0 0
Code: Select all
EENNWNWWWNEEEEE
EEEEESSSSSWWWWW
ENNNNNWWWWWSSSSS
EEENNNWWWWNEEEEE
EEENWWWWWNEEEEEN
WSSSWWNNNNWSSSS
EENNWWWWNNEEEEE
NNNNNWSSSSSWWWWNNEEENNN
SSSSSENNNNNEEESSSSENN
WNNNNWSSSSSWNNNNNWSSS
hi, my output on your input is:
Code: Select all
NEENNWWWWNEEEEE
SSEEEESSESWWWWW
NNNNENWWWWWSSSSS
NNEEENWWWWNEEEEE
EEENWWWWWNNEEEEE
SSSWWNNNNWWSSSS
NEENNWWWWNEEEEE
NNNNNWSSSSSWNWWWNNNNEEE
SSSSSENNNNNESSSSEEENN
NNNNWWSSSSSWNNNNNWSSS
![:(](./images/smilies/icon_frown.gif)
Is there any tricky inputs?
help please..
-
- Experienced poster
- Posts: 147
- Joined: Mon Jun 07, 2010 11:43 am
- Location: University Of Dhaka,Bangladesh
- Contact:
Re: 11049 - Basic wall maze
UVa stats: http://felix-halim.net/uva/hunting.php?id=63448
My blog on programming: http://www.shafaetsplanet.com/planetcoding/
My blog on programming: http://www.shafaetsplanet.com/planetcoding/
Re: 11049 - Basic wall maze
Your input is wrong. The wall should be horizontal or vertical.