-->
当前位置:首页 > 题库

PROGRAMMING:Derivation of polynomials of one variable

Luz5年前 (2021-05-10)题库427
Design function to find the derivative of polynomial of one variable.
###Input format:
The non-zero coefficients and exponents of the polynomial are input in the way of exponential descent (the absolute values are integers not exceeding 1000). Numbers are separated by spaces.
###Output format:
The coefficients and exponents of the nonzero term of the derivative polynomial are output in the same format as the input. The numbers are separated by spaces, but there should be no extra spaces at the end.
###Input example:
```in
3 4 -5 2 6 1 -2 0
```
###Output example:
```out
12 3 -10 1 6 0
```






answer:If there is no answer, please comment