|
|
вернуться в форумHey 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. I also checked for line breaks in input and output files. nothing works 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, , . Sorry 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... =( 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. I 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... I'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... |
|
|