|
|
back to boardPlease give me some test becouse I always have WA#1! I don't print dots, only spaces! don't shout loudly and show your impatience. case 1 is frequently similar or exactly the same as sample input. check it carefully, esp. the format. what's more, you should check if you have put the word "sun" inside your words list. Of course I remember about the word "sun". But inspite of it I can't find my mistake! Am I right that (e10<e2)? I just used strcmp in C/C++. Besides, i really met no trick.. I got AC directly/firstly during the contest I use strcmp too and I can't understand why WA#1. [code deleted] Edited by moderator 08.11.2005 00:06 You output only one space, but in description: "Each name must be preceded by two spaces as it is shown in the sample" Edited by author 05.11.2005 04:28 I print two spaces, but they aren't shown in this page! It is really strange! I tested your code on simple tests with my prg and all outputs are equal... You need help of author... Your solution outputs last query twice! Try this while(cin>>c>>s){ instead of while(!cin.eof()){ cin>>c>>s; Thank You!!! You were right!!! Edited by author 08.11.2005 16:43 |
|
|