need help!
Posted by
RomanN 1 Nov 2005 20:31
Please give me some test becouse I always have WA#1!
It is not '.'(dot) but ' '(space). read the problem carefully.
Re: It is not '.'(dot) but ' '(space). read the problem carefully.
Posted by
RomanN 2 Nov 2005 12:18
I don't print dots, only spaces!
Calm down..
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.
Re: Calm down..
Posted by
RomanN 3 Nov 2005 03:20
Of course I remember about the word "sun".
But inspite of it I can't find my mistake!
Re: Calm down..
Posted by
RomanN 3 Nov 2005 20:17
Am I right that (e10<e2)?
I think you're right.
I just used strcmp in C/C++.
Besides, i really met no trick.. I got AC directly/firstly during the contest
Re: I think you're right.
Posted by
RomanN 4 Nov 2005 18:08
I use strcmp too and I can't understand why WA#1.
Re: Show your code! (-)
Posted by
RomanN 5 Nov 2005 00:45
[code deleted]
Edited by moderator 08.11.2005 00:06
Re: Show your code! (-)
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
Re: Show your code! (-)
Posted by
RomanN 5 Nov 2005 04:36
I print two spaces, but they aren't shown in this page!
Strange!
It is really strange! I tested your code on simple tests with my prg and all outputs are equal...
You need help of author...
Re: Show your code! (-)
Your solution outputs last query twice!
Try this
while(cin>>c>>s){
instead of
while(!cin.eof()){
cin>>c>>s;
Re: Show your code! (-)
Posted by
RomanN 8 Nov 2005 03:41
Thank You!!!
You were right!!!
Edited by author 08.11.2005 16:43
Re: Show your code! (-)
Posted by
RomanN 8 Nov 2005 16:43