|  | 
|  | 
| вернуться в форум | Help needed Послано ile  14 мар 2010 03:55Hey everyone,
 I'm very frustrated. I spent couple hours on this problem and couldn't get it in Java. it's always WA#2. Can anyone give me some test data?
 
 I know that input can be any of the two representations, and all test cases given in threads are passed.
 
 I have really no clue, what's going on.
Help needed Послано ile  14 мар 2010 03:57I also checked for line breaks in input and output files. nothing worksRe: Help needed Image in first format:
 10
 1 1
 1 2
 2 2
 2 3
 2 4
 2 5
 3 1
 3 2
 4 2
 4 3
 
 Image in second format:
 
 1 1
 T,
 R,
 RT,
 RB,
 T,
 T,
 ,
 T,
 ,
 .
Re: Help needed Послано ile  26 мар 2010 02:08Sorry for late reply!
 Yes, that's exactly what I get. I don't think that the problem is within algo... I think there is some stupid mistake... something like extra line break or something else... =(
Re: Help needed The point is to read the statement thoroughly, more precise:Input
 One representation of the image will be given to your program in the input.
 Output
 Your program has to write other representation of the image to the output.
Re: Help needed Послано ile  21 июн 2010 00:53I guess you can apply it yourself!I said that:
 "I know that input can be any of the two representations, and all test cases given in threads are passed."
 
 Read carefully before saying something...
Re: Help needed Послано Owidp  17 фев 2013 07:59I'm really agree with you!!!And now I haven't fixed my WA2 yet!!!How can that be!!Could you give me some idea,ile?I have checked my code for a few days... | 
 | 
|