|
|
вернуться в форумnote for WA#12 Послано hoan 27 дек 2010 13:00 dont read space in the input. Re: note for WA#12 What do you mean? Firstly I read two lines of text, then I parse it using '+' and '-' as parsing symbols, and, after that I delete spaces from every substring I got. And I have WA#12. Do you want to say it is wrong algo? If so, could you give a test to clarify what you mean, please? Edited by author 27.12.2010 18:52 Re: note for WA#12 Послано hoan 28 дек 2010 14:34 try this test: .......x^..2*...y^...0-1 ...y +.....000 output: x^2*y - y (dote meane space) hope can help you!!! Edited by author 28.12.2010 14:35 Edited by author 28.12.2010 14:36 Re: note for WA#12 My program passed this test. Moreover, it passed all tests from this forum! Do you have another one? :) Edited by author 28.12.2010 18:32 Re: note for WA#12 Послано hoan 28 дек 2010 23:41 sorry, this test very useful for me. hope you can get AC. GOOD LUCK!!! Edited by author 28.12.2010 23:41 |
|
|