Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

代入法

Posted by StepByStepCnmLife at 2015-05-11 17:11:26 on Problem 2583
#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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator