标题这么长的。。真是让感觉人头大脚轻。 这道题我并没有A,拿到了80pts。做法基于二分图匹配但还包含贪心。很玄乎,给大家提供思路而已。 贴题面先。 Description Moo大学的餐厅必须为$C(1\leq C\leq 1000)$头入学的奶牛新生定制比萨饼.比萨饼可以在比萨小屋订做.一个饼只 ...
分类:
其他好文 时间:
2017-09-05 14:42:12
阅读次数:
245
FFF at Valentine Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1060 Accepted Submission(s): 506 ...
分类:
移动开发 时间:
2017-09-02 19:10:08
阅读次数:
269
Some dwarves that are finishing the StUDY (State University for Dwarven Youngsters) Bachelor courses, have been told "no genome, no degree". That mean ...
分类:
其他好文 时间:
2017-08-27 14:44:17
阅读次数:
167
Girls and Boys Problem Description the second year of the university somebody started a study on the romantic relations between the students. The rela ...
分类:
其他好文 时间:
2017-08-26 17:04:25
阅读次数:
157
/* HDU 6170 - Two strings [ DP ] | 2017 ZJUT Multi-University Training 9 题意: 定义*可以匹配任意长度,.可以匹配任意字符,问两串是否匹配 分析: dp[i][j] 代表B[i] 到 A[j]全部匹配 然后根据三种匹配类型分类... ...
分类:
其他好文 时间:
2017-08-24 00:08:39
阅读次数:
268
/* HDU 6168 - Numbers [ 思维 ] | 2017 ZJUT Multi-University Training 9 题意: .... 分析: 全放入multiset 从小到大,慢慢筛 */ #include using namespace std; const int N = ... ...
分类:
其他好文 时间:
2017-08-24 00:04:21
阅读次数:
122
HazelFan wants to build a rooted tree. The tree has nn nodes labeled 0 to n?1, and the father of the node labeled i is the node labeled . HazelFan won ...
分类:
其他好文 时间:
2017-08-22 19:49:41
阅读次数:
136
1.java的由来 1995年,由sun【Stanford university network,斯坦福大学网络公司】公司退出的一门高级的编程语言 2.java语言体系 J2SE:标准版,java的核心语法,是 J2EE:企业版,应用于服务器或者web方向,涉及到JSP,Servlet等,其中三大框 ...
分类:
编程语言 时间:
2017-08-20 12:34:55
阅读次数:
216
2778:Ride to School 2778:Ride to School 总时间限制: 1000ms 内存限制: 65536kB描述Many graduate students of Peking University are living in Wanliu Campus, which is ...
分类:
其他好文 时间:
2017-08-18 18:30:44
阅读次数:
127