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:高斯消元居然蛋疼过了! 要用long double并且用G++交

Posted by orzabc at 2013-05-04 00:59:43 on Problem 2098
In Reply To:高斯消元居然蛋疼过了! 要用long double并且用G++交 Posted by:orzabc at 2013-05-04 00:51:08
> 测了一下 G++ long double 和double sizeof()值不等,C++相等,最后输出强行转化成double
算方程A*x^2+B*y^2+C*x*y+D*x+E*y+F==0中,A,B,C,D,E,F比例关系的时候  把F的值尽量设大点来提高精度。
总之用高斯消元搞这道题 精度要求很高,貌似也有直接套坐标公式的做法,那个公式没推出来

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