⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 poly2.out

📁 数据结构c++语言描述 Borland C++实现
💻 OUT
字号:
Enter the number of nonzero terms
Enter the nonzero terms in decreasing order of exponents.
Give input as a sequence e_1, c_1, e_2, c_2, ...
Polynomial A is
4 5 3 4 2 3 1 2 0 1 
Enter the number of nonzero terms
Enter the nonzero terms in decreasing order of exponents.
Give input as a sequence e_1, c_1, e_2, c_2, ...
Polynomial B is
2 4 1 3 0 -1 
A + B =
4 5 3 4 2 7 1 5 
A - B =
4 5 3 4 2 -1 1 -1 0 2 
A * B =
6 20 5 31 4 19 3 13 2 7 1 1 0 -1 
A / B =
2 1 
Enter the number of nonzero terms
Enter the nonzero terms in decreasing order of exponents.
Give input as a sequence e_1, c_1, e_2, c_2, ...
Polynomial B is
5 2 4 4 3 3 2 3 1 -2 0 1 
A + B =
5 2 4 9 3 7 2 6 0 2 
A - B =
5 -2 4 1 3 1 1 4 
A * B =
9 10 8 28 7 37 6 43 5 21 4 16 3 7 2 2 0 1 
A / B =

Enter the number of nonzero terms
Enter the nonzero terms in decreasing order of exponents.
Give input as a sequence e_1, c_1, e_2, c_2, ...
Polynomial A is
4 5 3 4 2 3 1 2 0 1 
Polynomial B is
5 2 4 4 3 3 2 3 1 -2 0 1 
Polynomial C is
4 -5 3 -4 2 -3 1 3 0 2 
A + C =
1 5 0 3 
A - C =
4 10 3 8 2 6 1 -1 0 -1 
A * C =
8 -25 7 -40 6 -46 5 -19 3 7 2 9 1 7 0 2 
A / C =
0 -1 
A + B + C =
5 2 4 4 3 3 2 3 1 3 0 4 
Enter the number of nonzero terms
Polynomial A is

Polynomial C is
4 -5 3 -4 2 -3 1 3 0 2 
A + C =
4 -5 3 -4 2 -3 1 3 0 2 
A - C =
4 5 3 4 2 3 1 -3 0 -2 
A * C =

Enter the number of nonzero terms
Enter the nonzero terms in decreasing order of exponents.
Give input as a sequence e_1, c_1, e_2, c_2, ...
Polynomial A is
0 1 
Polynomial C is
4 -5 3 -4 2 -3 1 3 0 2 
A * C =
4 -5 3 -4 2 -3 1 3 0 2 
A / C =

Enter the number of nonzero terms
Enter the nonzero terms in decreasing order of exponents.
Give input as a sequence e_1, c_1, e_2, c_2, ...
Polynomial A is
3 2 2 4 1 1 0 2 
Enter the number of nonzero terms
Enter the nonzero terms in decreasing order of exponents.
Give input as a sequence e_1, c_1, e_2, c_2, ...
Polynomial C is
1 1 0 2 
A * C =
4 2 3 8 2 9 1 4 0 4 
A / C =
2 2 0 1 
Enter the number of nonzero terms
Enter the nonzero terms in decreasing order of exponents.
Give input as a sequence e_1, c_1, e_2, c_2, ...
Polynomial A is
10 3 8 3 6 2 4 3 2 1 
Enter the number of nonzero terms
Enter the nonzero terms in decreasing order of exponents.
Give input as a sequence e_1, c_1, e_2, c_2, ...
Polynomial C is
2 1 0 1 
A * C =
12 3 10 6 8 5 6 5 4 4 2 1 
A / C =
8 3 4 2 2 1 
A(0) = 0
A(1) = 12
A(2) = 4020

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -