SPOJ: QUEEN — Wandering Queen

Revision en2, by ILoveShreya, 2018-10-19 00:56:03

I am trying to solve a bfs problem. But i am getting WA.First I try to find what's the wrong in my code without taking any help,then i have used SPOJ Toolkit with the available test case to find mistake in my code.But i'm again fail :(

Of course there is a problem in my code that's why i am getting WA but i haven't found it. My code link: code link.

Help please to find out why i'm getting WA.

Thank you advanced :)

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English ILoveShreya 2018-10-19 00:56:03 4 Tiny change: 'y to find that's the ' -> 'y to find what's the '
en1 English ILoveShreya 2018-10-18 23:21:11 611 Initial revision (published)