| ||||||||||
| 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 | |||||||||
Re:注意:用了文件就错了,大家前往别用阿!!!我刷了遍才ac。。。悲剧。。。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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator