
组队赛
文章平均质量分 69
Dband
我把委屈变成笑容 只想做个好梦
展开
-
组队赛(第七周)
A - Nth Largest Value4552 Nth Largest ValueFor this problem, you will write a program that prints the N-th largest value in a fixed sized arrayof integers. To make things simple, N will be 3 and th...原创 2018-10-16 10:28:32 · 273 阅读 · 0 评论 -
H - Hotel Rewards(优先队列思维题)
7893 Hotel RewardsYou are planning to spend your holidays touring Europe, staying each night in a different city for Nconsecutive nights. You have already chosen the hotel you want to stay in for ea...原创 2018-10-29 20:13:45 · 228 阅读 · 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 · 335 阅读 · 0 评论