
有趣排序
文章平均质量分 70
snowy_smile
终于在ICPC World Final里拿到了气球!
再努力一点吧,坚持下去吧,梦想是会实现的! 人生会有低谷,但我更相信,未来也会有更多梦想能够实现~
展开
-
【2015-2016 ACM-ICPC, NEERC, Southern Subregional Contest B】【暴力双排序】Layer Cake 若干矩形 选择相同长和宽的最大体积
B. Layer Caketime limit per test6 secondsmemory limit per test512 megabytesinputstandard inputoutputstandard outputDasha decided to bake a big and tasty layer cake. In order to do that she went shopping and bought n rectangular cake layers. The length原创 2015-11-08 12:44:04 · 815 阅读 · 0 评论 -
【Codeforces Round 345 (Div 1) A】【STL-map or stable_sort or双关键字排序】Watchmen 曼哈顿距离=欧几里得距离点对数
A. Joystickstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputFriends are going to play console. They have tw原创 2016-03-08 18:58:23 · 609 阅读 · 0 评论 -
【Wunder Fund Round 2016 (Div 1 + Div 2 combined)C】【排序 共线判定】平面n点不共一线,寻找不含点的任一三角形
C. Constellationtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputCat Noku has obtained a map of the night sky原创 2016-03-01 18:11:58 · 594 阅读 · 0 评论 -
【2015广东工业大学新生赛A】【排序 二进制数位思想】GG和女神 数字按照数值排序后取了多少个数
#include#include#include#include#include#include#include#include#include#include#include#include#includeusing namespace std;void fre(){freopen("c://test//input.in","r",stdin);freopen("c:原创 2015-12-07 18:33:42 · 825 阅读 · 0 评论 -
【Educational Codeforces Round 3 D】【二分答案 贪心排序】Gadgets for dollars and pounds m个物品n天价格买k个的最早天数
Gadgets for dollars and poundstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputNura wants to buy k gadgets.原创 2015-12-23 20:18:00 · 1708 阅读 · 3 评论 -
【2015-2016 ACM-ICPC Pacific Northwest Regional Contest (Div 1)C】【排序 模拟】Classy 课程难度排序超多关键字
#include#include#include#include#include#include#include#include#include#include#include#include#includeusing namespace std;void fre(){freopen("c://test//input.in","r",stdin);freopen("c:原创 2015-12-03 09:34:31 · 1104 阅读 · 0 评论 -
【HDU5188 BestCoder Round 33C】【贪心排序+DP】zhx and contest 考试不被怀疑作弊条件下达到至少m分的最少时间
#include#include#include#include#include#include#include#include#include#include#include#include#includeusing namespace std;void fre(){freopen("c://test//input.in","r",stdin);freopen("c:原创 2015-11-19 20:52:15 · 748 阅读 · 0 评论 -
【Codeforces Round 335 (Div 2) C】【贪心 脑洞 有趣排序】Sorting Railway Cars 全排列排序可以提前后提后的最小操作数
C. Sorting Railway Carstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAn infinitely long railway has a trai原创 2015-12-10 13:44:51 · 1106 阅读 · 2 评论 -
【HDU5565 BestCoder Round 62 (div1)C】【STL or 二分答案 or 计数排序】Clarke and baton n个人减肥m次求最后异或值
【HDU5565 BestCoder Round 62 (div1)C】【优先队列做法】Clarke and baton n个人减肥m次求最后异或值 #include #include#include#include#include#include#include#include#include#include#include#include#includeusi原创 2015-11-18 10:38:56 · 802 阅读 · 0 评论 -
【HDU5654 BestCoder Round 77 (div1) D】【前驱位置思想 排序 树状数组】xiaoxin and his watermelon candy 区间内多少个不同连续单升三元
xiaoxin and his watermelon candy Accepts: 15 Submissions: 172 Time Limit: 4000/4000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)问题描述六年级的暑假,在腾讯实习的xiaoxin巨从leader原创 2016-03-27 22:51:25 · 754 阅读 · 0 评论