312 - Crosswords (II)

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

Moderator: Board moderators

pooya
New poster
Posts: 5
Joined: Sat Jun 16, 2007 1:18 am

Post by pooya »

I get Wrong Answer
My program solve all the above input correct
But get WA
Please help me and get some idea for this Wrong or some input
excuse me, my english language is very poor
mf
Guru
Posts: 1244
Joined: Mon Feb 28, 2005 4:51 am
Location: Zürich, Switzerland
Contact:

Post by mf »

I can't help you if I can't see your code.
pooya
New poster
Posts: 5
Joined: Sat Jun 16, 2007 1:18 am

Post by pooya »

(code removed)
mf
Guru
Posts: 1244
Joined: Mon Feb 28, 2005 4:51 am
Location: Zürich, Switzerland
Contact:

Post by mf »

Print only one blank line after each test case.
pooya
New poster
Posts: 5
Joined: Sat Jun 16, 2007 1:18 am

Post by pooya »

Oh, I'm sorry.
I read the problem from other online-judge site that have 2 empty line after each test case. :wink:
I get Accept.
Thank U.
Kerman
New poster
Posts: 1
Joined: Wed Sep 24, 2014 11:39 pm

Re: 312 - Crosswords (II)

Post by Kerman »

Guys... I am hopeless... Can you tell me what the hack is wrong with my code? I really can't find any input which gives me a wrong answer...

But still I am receiving just "wrong answers..."

Determination betwen black/white squares is done,
There are not any unnecessary spaces,
There is only one line after each model.

Its driving me nuts, I am not asking you to look for my bug, I just want to ask, if you can find some tricky input, or have any ideas...
C++

Code: Select all

code removde :-)
The bug was a missing /n after the last case (there is 2 new lines, not only one, so keep it in mind :-)) )
Post Reply

Return to “Volume 3 (300-399)”