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 zjp at 2009-08-18 13:25:18 on Problem 2583
#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:
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