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 1408. Polynomial Multiplication

note for WA#12
Posted by hoan 27 Dec 2010 13:00
dont read space in the input.
Re: note for WA#12
Posted by bsu.mmf.team 27 Dec 2010 18:50
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
Posted by hoan 28 Dec 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
Posted by bsu.mmf.team 28 Dec 2010 18:30
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
Posted by hoan 28 Dec 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