ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1030. Titanic

1030 --- WA #1
Posted by IgorTuphanov 4 Jan 2006 13:25
Sorry, can't place code here. It looks fine, but got WA#1. Who had the same bug? Plase, tell me, what can be wrong.
Maybe, reading data is bad?

   for (i = 0; i < 9; i++) {
      cin.getline(s[i],300);
      //scanf("%[^\n]",s[i]);  ch = getc(stdin);
   }

Thank you.

P.S. Quite stupid message, like "find bug,please , but I don't know where".
Re: 1030 --- WA #1
Posted by Idiot 25 May 2008 20:46
and i too have wa 1

Edited by author 25.05.2008 20:53