Word Swap

Discuss about the puzzles, but without giving the solutions please !!!

Word Swap

Postby admin » Wed Jan 05, 2011 8:54 am

Given a dictionary and two words of equal length that are in the dictionary, find a sequence of transformations required to rewrite the first word into the second one. Each word in the sequence must belong to the dictionary and must differ from the previous word by only one letter.


Last edited by admin on Fri Jan 14, 2011 7:38 pm, edited 2 times in total.
Reason: Edit
User avatar
admin
Site Admin
 
Posts: 333
Joined: Thu Dec 23, 2010 1:27 am

Re: Word Swap

Postby Francesco Laurita » Sun Feb 13, 2011 7:52 am

My C++ program is failing on all tests after a submission.

Can I have some debug data from you?

Are you sure, that your checker accepts any sequence of words?

Tnx!
User avatar
Francesco Laurita
 
Posts: 7
Joined: Tue Feb 08, 2011 12:34 pm

Re: Word Swap

Postby bknarendra » Sat Dec 17, 2011 1:32 am

My submission passes hard and extreme cases and fails on easy one's
What is wrong with the judge program
Can the admin look into it and tell me the exact reason why my solution fails.
http://codercharts.com/submission/43117
User avatar
bknarendra
 
Posts: 4
Joined: Thu Sep 22, 2011 6:30 pm


Return to Puzzles

Who is online

Users browsing this forum: No registered users and 4 guests

cron