英语翻译This time,you are supposed to find A+B where A and B are

英语翻译
This time,you are supposed to find A+B where A and B are two polynomials.
Input
Each input file contains one test case.Each case occupies 2 lines,and each line contains the information of a polynomial:K N1 aN1 N2 aN2 ...NK aNK,where K is the number of nonzero terms in the polynomial,Ni and aNi (i=1,2,...,K) are the exponents and coefficients,respectively.It is given that 1
北北north 1年前 已收到1个回答 举报

马马叉 幼苗

共回答了14个问题采纳率:92.9% 举报

这次,要求你找到 A+B,A,B为多项式
输入:
每个输入文件包含一个测试用例.每个测试用例占两行,每行包含一个多项式的信息,K N1 aN1 N2 aN2 ...Nk aNk,K表示多项式中一段非零的项目,Ni 和 aNi表示 相对应的指数和系数.假设 1

1年前

3
可能相似的问题
Copyright © 2024 YULUCN.COM - 雨露学习互助 - 17 q. 0.050 s. - webmaster@yulucn.com