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

其实是您没考虑到, 用个double, 多省心

Posted by semonteer at 2005-10-22 18:49:45 on Problem 2669
In Reply To:Re:题目没说不能有0的边,不能有小数边,很是阴险!! Posted by:35060622 at 2005-10-22 17:54:03
> 
> 确实~~~!!!
> 
> 太阴险了!!!!
> 
> 考虑数据:
>  1   
>   \  
> 0.5\
>     \   0.5
>      O-------- 3
>     /
>    /0.5
>   /
>  2
> 
> input:
> 3
> 0 1 1
> 1 0 1
> 1 1 0
> 
> output:
> 3 2
> 
> 
> 
> 

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