| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
一道给初学者的小菜#include <stdio.h>
int main()
{
int a,b,c;
int x,y,z;
while (EOF!=scanf("%d %d %d",x,y,z))
{
a=(z-2*y+x)/2;
b=(4*y-z-3*x)/2;
c=x;
printf("%d ",9*a+3*b+c);
printf("%d ",16*a+4*b+c);
printf("%d\n",25*a+5*b+c);
}
return 0;
}
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator