#include <iostream>
#include <vector>
//谢谢博友文章
using namespace std;
int main()
{
vector<int> jg;
while(1)
{
int a,b,c;
cin>>a;
if(cin.eof()==1)
{
break;
}
cin>>b>>c;
jg.push_back(a-3*b+3*c);
jg.push_back(3*a-8*b+6*c);
jg.push_back(6*a-15*b+10*c);
}
for(int i=0;i<jg.size();)
{
cout<<jg[i]<<" "<<jg[i+1]<<" "<<jg[i+2]<<endl;
i++;
i++;
i++;
}
return 0;
}
POJ 2583 Series Determination G++
最新推荐文章于 2020-09-16 16:11:14 发布