分类: ACM CODE

20 篇文章

[HDU#1712]ACboy needs your help
ACboy needs your helpTime Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 6038    Ac…
[HDU#1024]Max Sum Plus Plus
Max Sum Plus PlusTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 24152    Accep…
[XCOJ#1233]MCC同学拒绝重复代码
题目描述作为程序员,在工程中需要掌握的技能之一,就是避免代码的重复。  MCC同学开发了一套自动检测重复代码的软件,现在就剩下算法部分未完成了。  我们要求给出两个文件的内容,通过计算其中“最长公共子序列”的长度,来计算其代码重复度。  通过MCC牌黑科技,我们将文件的内容变成了一个整数数组,来便于进行比较。输入第一行…
[HDU#1785]You Are All Excellent
Problem Description 本次集训队共有30多人参加,毫无疑问,你们都是很优秀的,但是由于参赛名额有限,只能选拔部分队员参加省赛。从学校的角度,总是希望选拔出最优秀的18人组成6支队伍来代表学校。但是,大家也知道,要想做到完全客观,是一件很难的事情。因为选拔的标准本身就很难统一。 为了解决这个难题,我现在把问题作了简化,现在假设每个队…
HDOJ分类
模拟题, 枚举 1002 1004 1013 1015 1017 1020 1022 1029 1031 1033 1034 1035 1036 1037 1039 1042 1047 1048 1049 1050 1057 1062 1063 1064 1070 1073 1075 1082 1083 1084 1088 1106 1107 11…
ACM进阶指南
ACM队不是为了一场比赛而存在的,为的是队员的整体提高。 大学期间,ACM队队员必须要学好的课程有: l C/C++两种语言 l 高等数学 l 线性代数 l 数据结构 l 离散数学 l 数据库原理 l 操作系统原理 l 计算机组成原理 l 人工智能 l 编译原理 l 算法设计与分析 除此之外,我希望你们能掌握一些其它的知识,因为知识都是相互联系,触…
[HDU#1720]A+B Coming
Problem Description Many classmates said to me that A+B is must needs. If you can’t AC this problem, you would invite me for night meal. ^_^ Input Input may contain multiple t…
[HDU#1718]Rank
Problem Description Jackson wants to know his rank in the class. The professor has posted a list of student numbers and marks. Compute Jackson’s rank in class; that is, if he …
[HDU#1678]Shopaholic
Problem Description Lindsay is a shopaholic. Whenever there is a discount of the kind where you can buy three items and only pay for two, she goes completely mad and feels a n…
[HDU#1673]Optimal Parking
Problem Description When shopping on Long Street, Michael usually parks his car at some random location, and then walks to the stores he needs. Can you help Michael choose a p…