PAT1010】的更多相关文章

Given a pair of positive integers, for example, 6 and 110, 给出一对正整数,例如6和110 can this equation 6 = 110 be true? 6=110这个等式能是对的吗 The answer is "yes", if 6 is a decimal number and 110 is a binary number. 答案是yes,如果6是十进制数,110是二进制数 Now for any pair of p…
1010 Radix (25 分) Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is yes, if 6 is a decimal number and 110 is a binary number. Now for any pair of positive integers N1 and N2, your task is to f…
哎,pat1010即使java书面,只有java书面,还增加了两个点,,.啊,智商捉佳,主要pat有些不给明确的范围.造成遐想空间.. 还是按顺序介绍.. 题目地址:http://pat.zju.edu.cn/contests/pat-a-practise 1009: 题目大意:模拟多项式相乘的.比方(5x^3+4x)*(4x^2+6)这种,直接用数组存储就好,反正最多1000+1000=2000项 AC代码: #include<iostream> #include<cstdio>…