Problem2104--数据结构概论上机考试1-1063

2104: 数据结构概论上机考试1-1063

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 200  Solved: 87
[Submit] [Status] [Web Board] [Creator:]

Description

用链表实现两个二元二次多项式相乘。

Input

输入的数依次为:x,y,xy,x^2,y^2的系数。

Output

输出的数依次为:x,y,xy,x^2,y^2的系数。

Sample Input Copy

1 1 0 0 0
1 1 0 0 0

Sample Output Copy

0 0 2 1 1

Source/Category

391