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 yygy at 2012-11-21 22:58:13 on Problem 2624
x=(c*e-b*f)/(a*e-b*d);
y=(-c*d+a*f)/(a*e-b*d);
上面的AC

下面的WA

 x=(c*e-b*f)/(a*e-b*d);
y=(f-d*x)/(e);
因为e有可能为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