439 - Knight Moves

All about problems in Volume 4. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

Ron
Learning poster
Posts: 55
Joined: Mon Jul 23, 2007 5:01 pm
Location: INDIA

why TLE

Post by Ron »

why im getting TLE.... please Help me.........

Code: Select all

got AC

@ce
Learning poster
Posts: 71
Joined: Mon May 28, 2012 8:46 am
Location: Ranchi, India

Re: 439 WA

Post by @ce »

Getting WA...plz help with the bug or some appropriate test case:-

Code: Select all

AC
Last edited by @ce on Thu Jan 10, 2013 10:55 am, edited 1 time in total.
-@ce

brianfry713
Guru
Posts: 5947
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

Re: 439 WA

Post by brianfry713 »

To get from d8 to h8 takes 2 knight moves.

Check line 95.
Check input and AC output for thousands of problems on uDebug!

@ce
Learning poster
Posts: 71
Joined: Mon May 28, 2012 8:46 am
Location: Ranchi, India

Re: 439 WA

Post by @ce »

Thanks @brianfry713
-@ce

Post Reply

Return to “Volume 4 (400-499)”