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

第一个sample很友好,注意几点

Posted by liymouse at 2022-02-12 03:10:56 on Problem 1413
1. 按 score -> goaldifference -> goal 分不出排名的球队需要单独拉出来再在他们范围内比(递归)。
   如果参与排名的所有球队都平局,这时候采取抽签。

2. 如果要抽签,注意是抽签排1,2名,还是抽签排第2名。

3. 概率p直接计算比较好,打表的话如果小数位不够,精度会有问题。

这3点有问题,第一个sample算不出0.5000000

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