摘要:        
题目来源:PTA02-线性结构2 Reversing Linked List (25分) Question:Given a constant K and a singly linked list L, you are supposed to reverse the links of every K     阅读全文
posted @ 2015-10-11 21:02 SteveWang 阅读(667) 评论(0) 推荐(0)
			
  | 
	|||
| 
			 
摘要:        
题目来源:PTA02-线性结构2 Reversing Linked List (25分) Question:Given a constant K and a singly linked list L, you are supposed to reverse the links of every K     阅读全文
 
posted @ 2015-10-11 21:02 SteveWang 阅读(667) 评论(0) 推荐(0) 
摘要:        
题目来源:PTA02-线性结构1 一元多项式的乘法与加法运算 (20分) 题目:设计函数分别求两个一元多项式的乘积与和。 输入格式: 输入分2行,每行分别先给出多项式非零项的个数,再以指数递降方式输入一个多项式非零项系数和指数(绝对值均为不超过1000的整数)。数字间以空格分隔。 输出格式: 输出分    阅读全文
 
posted @ 2015-10-11 15:33 SteveWang 阅读(2654) 评论(0) 推荐(0)  | 
	|||