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 |
为什么WAvar x1,x2,x3,y1,y2,y3,a,b:double; begin while not eof do begin read(x1,y1); read(x2,y2); read(x3,y3); if (x3=x1) and (y3=y1) then begin readln(x3,y3); writeln((x2+x3-x1):0:3,' ',(y2+y3-y1):0:3); end else if ((x3=x2) and (y3=y2)) then begin readln(x3,y3); writeln((x1+x3-x2):0:3,' ',(y1+y3-y2):0:3); end else begin readln(a,b); if (a=x1) and (b=y1) then writeln((x2+x3-a):0:3,' ',(y2+y3-b):0:3) else writeln((x1+x3-a):0:3,' ',(y1+y3-b):0:3); end; end; end. Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator