c语言结构体计算罚时与成绩(acm)

该博客介绍了一种用于编程竞赛评分的C语言实现,主要关注如何计算团队的得分,包括解决问题的数量和罚时。每个正确解决的问题会根据解决时间和错误提交次数累积罚分。最终,胜者为解决问题最多的团队,若问题数量相同,则罚分最少的团队获胜。输入包含每个团队的提交和解决时间,保证不会出现平局情况。输出为获胜团队的名称、解决问题的数量和总罚分。
摘要由CSDN通过智能技术生成

Scoring

Time Limit: 3000ms, Memory Limit: 10000KB , Accepted: 2858, Total Submissions: 3453

Description

Judging a programming contest is hard work, with demanding contestants, tedious decisions,and monotonous work. Not to mention the nutritional problems of spending 12 hours with only donuts, pizza, and soda for food. Still, it can be a lot of fun.
Software that automates the judging process is a great help, but the notorious unreliability of some contest software makes people wish that something better were available. You are part of a group trying to develop better, open source, contest management software, based on the principle of modular design.
Your component is to be used for calculating the scores of programming contest teams and determining a winner. You will be given the results from several teams and must determine the winner.
Scoring
There are two components to a team's score. The first is the number of problems solved. The second is penalty points, which reflects the amount of time and incorrect submissions made before the problem is solved. For each problem solved correctly, penalty points are charged equal to the time at which the p

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值