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 x,y,z,a,b,c; while(scanf("%d %d %d",&x,&y,&z)!=EOF) { a=3*z-3*y+x; b=6*z-8*y+3*x; c=10*z-15*y+6*x; printf("%d %d %d\n",a,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