1418 - Ping-Latin

Discussion around the problems of the COJ.
Forum rules
Remember that posting AC code is not allowed here. If you are going to ask a question or to post a solution, describe your algorithm instead. Posting AC code will be penalized.
Post Reply
adrianc
Posts: 19
Joined: 8 years ago
Location: UPR, Cuba
Gender: None specified

1418 - Ping-Latin

Post by adrianc » 8 years ago

http://coj.uci.cu/24h/problem.xhtml?abb=1418

Hello everybody,

I need some help with this little problem, I got a lot of PRESENTATION ERROR -which is the most annoying- and I would like to know how should I print the output data, if its one answer per line or just a line with all answers because the problem is not very clear about that... :evil:



José Carlos
Posts: 13
Joined: 8 years ago
Gender: None specified

Re: problem 1418 Ping-Latin

Post by José Carlos » 8 years ago

You must print one per line, according to the line read...

adrianc
Posts: 19
Joined: 8 years ago
Location: UPR, Cuba
Gender: None specified

Re: problem 1418 Ping-Latin

Post by adrianc » 8 years ago

i think there's something wrong with this problem 'cause i've submitted it in java and i got accepted, but in c# i got presentation error!!!!

User avatar
ymondelo20
Posts: 1968
Joined: 8 years ago
Location: Universidad de las Ciencias Informáticas
Gender: None specified
Contact:

Re: problem 1418 Ping-Latin

Post by ymondelo20 » 8 years ago

adrianc wrote:i think there's something wrong with this problem 'cause i've submitted it in java and i got accepted, but in c# i got presentation error!!!!
There are two white lines, at the end of the original input file (they should not be here).
I will fix that soon. The submissions will be retested.
Best regards.
"Every problem has a simple, fast and wrong solution" OJ's Main Law. ;)

Post Reply

Return to “Problem set”