标签:ret 一元多项式 clu names pac cin lag main return
#include <iostream>
using namespace std;
int main() {
int a, b, flag = 0;
while (cin >> a >> b) {
if (b != 0) {
if (flag == 1) cout << " ";
cout << a * b << " " << b - 1;
flag = 1;
}
}
if (flag == 0) cout << "0 0";
return 0;
}
标签:ret 一元多项式 clu names pac cin lag main return
原文地址:https://www.cnblogs.com/wanghui626/p/10318818.html