。。。

导航

随笔分类 -  ACM--基础

1 2 下一页

poj 1573 Robot Motion 【模拟】【刷题计划】
摘要:Robot Motion Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 14641 Accepted: 7032 Description A robot has been programmed to follow the ins 阅读全文

posted @ 2017-11-22 14:14 大学僧 阅读(179) 评论(0) 推荐(0)

poj 2632 Crashing Robots【模拟】【略坑~】【刷题计划】
摘要:Crashing Robots Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 11233 Accepted: 4753 Description In a modernized warehouse, robots are used 阅读全文

posted @ 2017-11-21 18:42 大学僧 阅读(181) 评论(0) 推荐(0)

poj1068 Parencodings【模拟】【刷题计划】
摘要:Parencodings Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 27375 Accepted: 16094 Description Let S = s1 s2...s2n be a well-formed string 阅读全文

posted @ 2017-11-18 15:31 大学僧 阅读(170) 评论(0) 推荐(0)

poj 2586 Y2K Accounting Bug【贪心】【刷题计划】
摘要:Y2K Accounting Bug Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 16154 Accepted: 8111 Description Accounting for Computer Machinists (ACM 阅读全文

posted @ 2017-11-16 17:08 大学僧 阅读(214) 评论(0) 推荐(0)

poj2109 Power of Cryptography【坑~泪目】【水过】【刷题计划】
摘要:Power of Cryptography Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 26249 Accepted: 13121 Description Current work in cryptography involv 阅读全文

posted @ 2017-11-16 13:21 大学僧 阅读(113) 评论(0) 推荐(0)

poj 1328 Radar Installation【贪心】【刷题计划】
摘要:Radar Installation Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 93433 Accepted: 20855 Description Assume the coasting is an infinite str 阅读全文

posted @ 2017-11-12 20:29 大学僧 阅读(154) 评论(0) 推荐(0)

poj 2965 The Pilots Brothers' refrigerator 【dfs+枚举】【双十一大礼包】
摘要:The Pilots Brothers' refrigerator Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 27522 Accepted: 10625 Special Judge Description The game 阅读全文

posted @ 2017-11-11 16:07 大学僧 阅读(116) 评论(0) 推荐(0)

hdu 5532【最长非递增子序列 时间复杂度 nlogn】
摘要:http://acm.split.hdu.edu.cn/showproblem.php?pid=5532 题意:由n个数组成的序列,如果去掉一个数后仍保持非递增或者非递减,则输出YES,否则输出NO. 思路:只需要求最长非递增子序列的长度和最长非递减子序列的长度,如果其中一个长度+1>=n,说明可以 阅读全文

posted @ 2017-10-12 11:04 大学僧 阅读(165) 评论(0) 推荐(0)

hdu 5538 House Building 【矩阵表面积】
摘要:House Building Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 1808 Accepted Submission(s): 113 阅读全文

posted @ 2017-09-14 16:54 大学僧 阅读(184) 评论(0) 推荐(0)

hdu5914 Triangle 【贪心】
摘要:Triangle Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1413 Accepted Submission(s): 840 Problem 阅读全文

posted @ 2017-09-13 09:41 大学僧 阅读(235) 评论(0) 推荐(0)

2016中国大学生程序设计竞赛(ccpc 长春) Fraction【模拟】
摘要:Problem Description Mr. Frog recently studied how to add two fractions up, and he came up with an evil idea to trouble you by asking you to calculate 阅读全文

posted @ 2017-09-12 22:40 大学僧 阅读(219) 评论(0) 推荐(0)

B - Radar Installation poj 1328【贪心】
摘要:Assume the coasting is an infinite straight line. Land is in one side of coasting, sea in the other. Each small island is a point locating in the sea 阅读全文

posted @ 2017-09-04 22:29 大学僧 阅读(119) 评论(0) 推荐(0)

51nod 1137矩阵乘法【矩阵】
摘要:1137 矩阵乘法 基准时间限制:1 秒 空间限制:131072 KB 分值: 0 难度:基础题 收藏 关注 1137 矩阵乘法 基准时间限制:1 秒 空间限制:131072 KB 分值: 0 难度:基础题 1137 矩阵乘法 基准时间限制:1 秒 空间限制:131072 KB 分值: 0 难度:基 阅读全文

posted @ 2017-09-03 10:23 大学僧 阅读(130) 评论(0) 推荐(0)

NYOJ 2356: 哈希计划【模拟】
摘要:题目描述 众所周知,LLM的算法之所以菜,就是因为成天打游戏,最近LLM突然想玩《金庸群侠传X》,结果进去后各种被虐,LLM就开始研究这个游戏的代码,顺便还学会了一点点点点lua语言,然后就开始了伟大的改游戏代码之旅,然后LLM发现自己too young了,这个游戏把所有的文本都进行了哈希,如果自己 阅读全文

posted @ 2017-09-01 22:31 大学僧 阅读(176) 评论(0) 推荐(0)

1008 N的阶乘 mod P【基础题or 水题?】
摘要:1008 N的阶乘 mod P 基准时间限制:1 秒 空间限制:131072 KB 分值: 0 难度:基础题 收藏 关注 1008 N的阶乘 mod P 基准时间限制:1 秒 空间限制:131072 KB 分值: 0 难度:基础题 1008 N的阶乘 mod P 基准时间限制:1 秒 空间限制:13 阅读全文

posted @ 2017-08-28 16:49 大学僧 阅读(220) 评论(0) 推荐(0)

51nod 1384 全排列 【递归】
摘要:1384 全排列 基准时间限制:1 秒 空间限制:131072 KB 分值: 0 难度:基础题 收藏 关注 1384 全排列 基准时间限制:1 秒 空间限制:131072 KB 分值: 0 难度:基础题 1384 全排列 基准时间限制:1 秒 空间限制:131072 KB 分值: 0 难度:基础题 阅读全文

posted @ 2017-08-28 16:11 大学僧 阅读(107) 评论(0) 推荐(0)

5972: 【递归入门】全排列
摘要:题目描述 排列与组合是常用的数学方法。 先给一个正整数 ( 1 < = n < = 10 ) 例如n=3,所有组合,并且按字典序输出: 1 2 3 1 3 2 2 1 3 2 3 1 3 1 2 3 2 1 排列与组合是常用的数学方法。 先给一个正整数 ( 1 < = n < = 10 ) 例如n= 阅读全文

posted @ 2017-08-26 16:56 大学僧 阅读(236) 评论(0) 推荐(0)

【练习赛补题】问题 E: 花生采摘 【模拟】
摘要:题目描述 鲁宾逊先生有一只宠物猴,名叫多多。这天,他们两个正沿着乡间小路散步,突然发现路边的告示牌上贴着一张小小的纸条:“欢迎免费品尝我种的花生!——熊字”。 鲁宾逊先生和多多都很开心,因为花生正是他们的最爱。在告示牌背后,路边真的有一块花生田,花生植株整齐地排列成矩形网格(如图1)。有经验的多多一 阅读全文

posted @ 2017-08-25 09:42 大学僧 阅读(355) 评论(0) 推荐(0)

练习赛2(AC题)
摘要:问题 B: 赌徒题目描述有n个赌徒打算赌一局。规则是:每人下一个赌注,赌注为非负整数,且任意两个赌注都不相同。胜者为赌注恰好是其余任意三个人的赌注之和的那个人。如果有多个胜者,我们取赌注最大的那个为最终胜者。例如,A,B,C,D,E分别下赌注为2、3、5、7、12,最终胜者是E,因为12=2+3+7... 阅读全文

posted @ 2017-07-23 16:27 大学僧 阅读(190) 评论(0) 推荐(0)

练习赛1(补题)
摘要:问题 E: 一家人题目描述最近zzq交了一个新朋友叫cj,他们在聊天的时候发现500年前他们竟然是一家人!现在zzq想知道cj是他的长辈,晚辈,还是兄弟。输入输入包含多组测试数据。每组首先输入一个整数N(N#includeint main(){ int a,b; int n,i; int k1,k2... 阅读全文

posted @ 2017-07-22 16:16 大学僧 阅读(168) 评论(0) 推荐(0)

1 2 下一页