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

Re:注意:用了文件就错了,大家前往别用阿!!!我刷了遍才ac。。。悲剧。。。

Posted by sw9416 at 2010-05-04 15:55:14 on Problem 2583
In Reply To:注意:用了文件就错了,大家前往别用阿!!!我刷了遍才ac。。。悲剧。。。 Posted by:sw9416 at 2010-05-04 15:55:03
var
  a,b,c,d,e,f,g,h,i : real ;

begin
  while not eof do begin
    readln(d,e,f) ;
    c := d ;
    a := (f + d - 2 * e) / 2 ;
    b := e - a - c;
    g := 9 * a + 3 * b + c;
    h := 16 * a + 4 * b + c;
    i := 25 * a + 5 * b + c;
    writeln(g:0:0,' ',h:0:0,' ',i:0:0) ;
  end ;
end.

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