其他分享
首页 > 其他分享> > poj 2583(水题)

poj 2583(水题)

作者:互联网

#include<iostream>
#include<cstdio>
using namespace std;
int main(){
    int k1,k2,k3,a[3];
    while(scanf("%d%d%d",&k1,&k2,&k3)==3){
        a[0] = k1-3*k2+3*k3;
        a[1] = 3*k1-8*k2+6*k3;
        a[2] = 6*k1-15*k2+10*k3;
        printf("%d %d %d\n",a[0],a[1],a[2]);
    }
    return 0;
}

 

标签:2583,水题,int,d%,k3,k2,k1,poj,include
来源: https://www.cnblogs.com/stevenzrx/p/15085212.html