
贪心
文章平均质量分 61
少侠,慢点走
与其在失败后后悔,不如在失败前成功
展开
-
Poj百练 4110:圣诞老人的礼物-Santa Clau’s Gifts (分类:贪心)
#include<cstdio> #include<algorithm> using namespace std; int n,m; struct s { int a; int b; double x; }; struct rule { bool operator ()(const s & s1,c原创 2018-11-13 23:02:06 · 3554 阅读 · 0 评论 -
FatMouse' Trade(贪心算法)
FatMouse’ Trade Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 45918 Accepted Submission(s): 15370 Problem Description FatMouse prepared M ...原创 2018-11-16 00:01:33 · 313 阅读 · 0 评论