Files
PAT/html/b1010.html
T

14 lines
806 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<h1>1010. 一元多项式求导 (25)</h1>
<div id="problemContent">
<p>设计函数求一元多项式的导数。(注:x<sup>n</sup>(n为整数)的一阶导数为n*x<sup>n-1</sup>。)</p>
<p><b>输入格式:</b>以指数递降方式输入多项式非零项系数和指数(绝对值均为不超过1000的整数)。数字间以空格分隔。</p>
<p><b>输出格式:</b>以与输入相同的格式输出导数多项式非零项的系数和指数。数字间以空格分隔,但结尾不能有多余空格。注意“零多项式”的指数和系数都是0,但是表示为“0 0”。</p>
<b>输入样例:</b><pre>
3 4 -5 2 6 1 -2 0
</pre>
<b>输出样例:</b><pre>
12 3 -10 1 6 0
</pre>
</div>