ENG
RUS
Timus 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
198808xc
If you have WA @ 2 or 4.
// Problem
1408. Polynomial Multiplication
29 Sep 2010 19:34
Test 2 is the case that output is 0.
For example:
Input
a - a
b
Output
0
(My output was nothing)
Test 4 is the case that some power would be 0.
For example:
Input
a^00 - b
1 - b*b^0
Output
b^2 - 2*b + 1
Good luck.
© 2000–2026
Timus Online Judge Team
. All rights reserved.