组队赛
文章平均质量分 69
Dband
我把委屈变成笑容 只想做个好梦
展开
-
组队赛(第七周)
A - Nth Largest Value 4552 Nth Largest Value For this problem, you will write a program that prints the N-th largest value in a fixed sized array of integers. To make things simple, N will be 3 and th...原创 2018-10-16 10:28:32 · 244 阅读 · 0 评论 -
H - Hotel Rewards(优先队列思维题)
7893 Hotel Rewards You are planning to spend your holidays touring Europe, staying each night in a different city for N consecutive nights. You have already chosen the hotel you want to stay in for ea...原创 2018-10-29 20:13:45 · 216 阅读 · 0 评论 -
Dating On-Line(数学题)
题目链接:http://acm.sdibt.edu.cn/vjudge/contest/view.action?cid=2104#problem/D 题意:在一个正六边形里,给出n个数据,找出一个多边形,使该多边形面积最大 要使多边形面积最大,比如有6个数 1 2 3 4 5 6,最大的排序方式是 2 4 6 5 3 1,使用双端队列存储方便,把这个多边形划分为n个三角形,每个的度数为360/n,...原创 2018-10-30 15:45:00 · 324 阅读 · 0 评论