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 ghost_wei at 2007-02-26 16:16:49 on Problem 2779
In Reply To:请问这题的坐标是实数吗?我用int存,算时强制转化就WA.改double就AC.题目说是整数的啊. 谢谢 Posted by:ghost_wei at 2007-02-26 16:15:07
d[m++].l=double(c[i].x)-double(c[j].x-c[i].x)/double(c[j].y-c[i].y)*double(c[i].y);

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