当前位置: 首页 > 工具软件 > compromise > 使用案例 >

北京大学ACM Problems 1015:Jury Compromise

况嘉运
2023-12-01

Jury Compromise

Time Limit: 1000MS Memory Limit: 65536K
Total Submissions: 39580 Accepted: 10718 Special Judge

Description

In Frobnia, a far-away country, the verdicts in court trials are determined by a jury consisting of members of the general public. Every time a trial is set to begin, a jury has to be selected, which is done as follows. First, several people are drawn randomly from the public. For each person in this pool, defence and prosecution assign a grade from 0 to 20 indicating their preference for this person. 0 means total dislike, 20 on the other hand means that this person is considered ideally suited for the jury.
Based on the grades of the two parties, the judge selects the jury. In order to ensure a fair trial, the tendencies of the ju

 类似资料: