ACM
文章平均质量分 81
B12040331
一个人害怕寂寞,两个人害怕辜负。
展开
-
2014上海全国邀请赛题解 HDOJ 5090-5099
2014上海全国邀请赛题解原创 2014-11-02 21:47:36 · 1489 阅读 · 0 评论 -
HDOJ 1003 Max Sum
链接:http://acm.hdu.edu.cn/showproblem.php?pid=1003原创 2014-06-05 16:53:47 · 716 阅读 · 0 评论 -
2014年第四届“华为杯”南邮大学生程序设计竞赛之选拔赛 D演唱顺序问题
链接:题目:题目D:演唱顺序问题时间限制(普通/Java):1000MS/3000MS 运行内存限制:65536KByte问题描述2014“华为杯”南京邮电大学大学生团体歌唱大赛与2013年情况相似:大赛分为多轮,每一轮随机选择参赛团体进行两两PK赛。当根据多轮多场的PK赛成绩能够确定排名次序时,大赛结束。但对于去年的PK赛,有些参赛选手颇有微词,认为PK原创 2014-04-27 22:54:10 · 1014 阅读 · 0 评论 -
(The 11th Zhejiang Provincial Collegiate Programming Contest )What day is that day?
链接:http://acm.zju.edu.cn/onlinejudge/showContestProblem.do?problemId=5248题目:原创 2014-04-12 19:23:49 · 878 阅读 · 0 评论 -
POJ 2955 Brackets
POJ 2955 ;链接:http://poj.org/problem?id=2955题目:BracketsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 2463 Accepted: 1267DescriptionWe give the原创 2014-03-24 23:12:47 · 723 阅读 · 0 评论 -
CodingTrip - 携程编程大赛 (预赛第一场)旋转的二进制
链接:http://acm.hdu.edu.cn/contests/contest_showproblem.php?pid=1004&cid=498题目:原创 2014-04-10 21:47:29 · 1270 阅读 · 4 评论 -
素数筛选法
代码:原创 2014-04-10 22:56:21 · 691 阅读 · 0 评论 -
POJ 2446 Chessboard
链接:http://poj.org/problem?id=2446题目:原创 2014-04-09 22:31:38 · 904 阅读 · 0 评论 -
POJ 2594 Treasure Exploration
链接:http://poj.org/problem?id=2594题目:Treasure ExplorationTime Limit: 6000MS Memory Limit: 65536KTotal Submissions: 6453 Accepted: 2603DescriptionHave you原创 2014-04-09 22:07:40 · 760 阅读 · 0 评论 -
HDOJ 2063 过山车
链接:http://acm.hdu.edu.cn/showproblem.php?pid=2063题目:过山车Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 9159 Accepted Subm原创 2014-04-09 12:45:27 · 801 阅读 · 0 评论 -
ZOJ 3770 Ranking System
链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5233题目:Ranking SystemTime Limit: 2 Seconds Memory Limit: 65536 KBFew weeks ago, a famous software company has upgrade原创 2014-04-07 21:19:32 · 994 阅读 · 0 评论 -
HDOJ 1231 最大连续子序列
链接:http://acm.hdu.edu.cn/showproblem.php?pid=1231题目:原创 2014-06-05 17:09:28 · 768 阅读 · 0 评论 -
南邮OJ 1079 111…
链接:http://acm.njupt.edu.cn/acmhome/problemdetail.do?&method=showdetail&id=1079题目:原创 2014-06-07 13:42:40 · 972 阅读 · 0 评论 -
HDOJ 4952 Number Transformation
题目:Number TransformationTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 209 Accepted Submission(s): 91Problem Description原创 2014-08-14 19:36:37 · 995 阅读 · 0 评论 -
HDOJ 4937 Lucky Number
题目:Lucky NumberTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 1034 Accepted Submission(s): 305Problem Description“La原创 2014-08-14 09:56:44 · 958 阅读 · 0 评论 -
HDOJ 4950 Monster
题目:MonsterTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 198 Accepted Submission(s): 81Problem DescriptionTeacher Mai原创 2014-08-14 19:30:01 · 982 阅读 · 0 评论 -
ACdream区域赛指导赛之手速赛系列(5) 题解
ACdream区域赛指导赛之手速赛系列(5) 题解原创 2014-08-23 14:11:37 · 2202 阅读 · 0 评论 -
HDOJ 4925 Apple Tree
题目:Apple TreeTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 46 Accepted Submission(s): 29Problem DescriptionI’ve bought an原创 2014-08-07 17:54:12 · 947 阅读 · 0 评论 -
HDOJ 4927 Series 1
题目:Series 1Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 132 Accepted Submission(s): 34Problem DescriptionLet A be an int原创 2014-08-07 18:18:58 · 857 阅读 · 0 评论 -
2014 Multi-University Training Contest 5 HDOJ 4920 Matrix multiplication
题目:Matrix multiplicationTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 384 Accepted Submission(s): 138Problem DescriptionG原创 2014-08-05 18:20:21 · 1098 阅读 · 0 评论 -
2014 Multi-University Training Contest 5 HDOJ 4911 Inversion
题目:InversionTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 73 Accepted Submission(s): 26Problem Descriptionbobo has a sequ原创 2014-08-05 18:09:34 · 1043 阅读 · 0 评论 -
2014西安全国邀请赛——题目重现(感谢西工大+复旦)HDOJ4847 Wow! Such Doge!
链接:http://acm.hdu.edu.cn/showproblem.php?pid=4847题目:Problem DescriptionChen, Adrian (November 7, 2013). “Doge Is An Ac- tually Good Internet Meme. Wow.”. Gawker. Retrieved November 22, 2原创 2014-07-09 11:01:13 · 1611 阅读 · 0 评论 -
HDOJ 2062 Subset sequence
链接:http://acm.hdu.edu.cn/showproblem.php?pid=2062题目:Subset sequenceTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2942 Accepted原创 2014-06-30 13:41:50 · 1266 阅读 · 0 评论 -
ZOJ 3768 Continuous Login
链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5231题目:Continuous LoginTime Limit: 2 Seconds Memory Limit: 131072 KB Special JudgePierre is recently obsessed wi原创 2014-04-07 20:51:41 · 1189 阅读 · 0 评论 -
ZOJ 3775 ?(>_o)!
链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5238原创 2014-04-07 21:13:38 · 964 阅读 · 0 评论 -
POJ 3481 Double Queue
POJ 3481; 链接:http://poj.org/problem?id=3481;题目:Language:DefaultDouble QueueTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 9629 Accepted: 4378原创 2014-03-15 22:00:13 · 1149 阅读 · 0 评论 -
HDU 1025 Constructing Roads In JGShining's Kingdom
HDU 1025 ;链接:http://acm.hust.edu.cn/vjudge/contest/view.action?cid=42656#overview;题目:Constructing Roads In JGShining's KingdomTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768原创 2014-03-24 22:44:40 · 708 阅读 · 0 评论 -
UVA 10100 Longest Match
UVA 10100; 链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1041题目:Longest MatchInput: standard inputOutput: standard outputA newly ope原创 2014-03-23 11:38:40 · 931 阅读 · 0 评论 -
Getting in Line
uva 216, 链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&category=&problem=152&mosmsg=Submission+received+with+ID+13268297Computer networking requires that原创 2014-03-05 22:05:41 · 720 阅读 · 0 评论 -
Seeding
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=1100ZOJ2100It is spring time and farmers have to plant seeds in the field. Tom has a nice field, which is a rectangle with n * m squ原创 2014-03-03 20:19:35 · 1013 阅读 · 0 评论 -
排序
这里总结了一些比较常见的排序。1.简单选择排序题目链接:http://acm.njupt.edu.cn/acmhome/problemdetail.do?&method=showdetail&id=1061代码:#include #include using namespace std;#define MAX 410int a[MAX];void printSource原创 2013-12-25 13:29:28 · 845 阅读 · 0 评论 -
卡特兰数
题目:二叉树时间限制(普通/Java):1000MS/3000MS 运行内存限制:65536KByte总提交:138 测试通过:12描述求N个节点构成的二叉树总个数,对10007取模的值。输入T 样例数N 节点数输出每组数据一行 为求的的个数 对1000原创 2013-12-17 15:12:23 · 999 阅读 · 0 评论 -
Calendar
题目:R - CalendarTime Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionCalendars in widespread use today include the Gregorian原创 2013-12-16 22:15:13 · 894 阅读 · 0 评论 -
qsort()快排
快排sqort()//部分验证,推理得出。内容基本可靠!////////////////////对int/char/float/double整形数组的快排/////////////////////#include #includeint cmp(const void *p,const void *q)//该函数进行的是升序快排,如果想要进行降序快排,则将1和-1转载 2013-12-16 01:08:40 · 1057 阅读 · 0 评论 -
Sail
题目:N - SailTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionThe polar bears are going fishing. They plan to sail from (s原创 2013-12-15 20:45:21 · 1173 阅读 · 0 评论 -
POJ 1141 Brackets Sequence
POJ 1141;链接:http://poj.org/problem?id=1141题目:Brackets SequenceTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 23638 Accepted: 6665 Special Judge原创 2014-03-20 20:00:15 · 1114 阅读 · 0 评论 -
hdu 2544 最短路
链接:http://acm.hdu.edu.cn/showproblem.php?pid=2544题目:最短路Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 26888 Accepted Submission(s):原创 2014-03-30 16:17:23 · 791 阅读 · 0 评论 -
POJ 3259 Wormholes
链接:http://poj.org/problem?id=3259题目:WormholesTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 27825 Accepted: 10012DescriptionWhile exploring h原创 2014-04-06 11:18:58 · 778 阅读 · 0 评论 -
POJ 2387 Til the Cows Come Home
链接:http://poj.org/problem?id=2387题目:Til the Cows Come HomeTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 27055 Accepted: 9102DescriptionBessi原创 2014-04-03 13:10:15 · 883 阅读 · 0 评论 -
POJ 2253 Frogger
链接:http://poj.org/problem?id=2253题目:FroggerTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 23626 Accepted: 7668DescriptionFreddy Frog is sitti原创 2014-04-02 22:03:45 · 700 阅读 · 0 评论