![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
POJ
文章平均质量分 79
idealistic
编程渣渣~~
展开
-
【POJ1363】栈
B - IITime Limit:1000MS Memory Limit:10000KB 64bit IO Format:%lld & %lluSubmit StatusDescriptionThere is a famous railway station in PopPush City. Country there is incred原创 2016-07-25 19:58:21 · 307 阅读 · 0 评论 -
【POJ2367】
Genealogical treeTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluSubmit Status Practice POJ 2367DescriptionThe system of Martians' blood relations is原创 2016-08-06 12:18:04 · 510 阅读 · 0 评论 -
【poj1852】Ants
AntsTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 14948 Accepted: 6498DescriptionAn army of ants walk on a horizontal pole of length l cm, each with a原创 2016-08-18 21:23:55 · 231 阅读 · 0 评论 -
**【poj1745】Divisibility
DivisibilityTime Limit:1000MS Memory Limit:10000KB 64bit IO Format:%lld & %lluSubmit StatusDescriptionConsider an arbitrary sequence of integers. One can place + or - ope原创 2016-08-09 15:07:51 · 272 阅读 · 0 评论 -
**并查集
Find them, Catch themTime Limit:1000MS Memory Limit:10000KB 64bit IO Format:%lld & %lluSubmit StatusDescriptionThe police office in Tadu City decides to say ends to the c原创 2016-09-23 22:09:43 · 233 阅读 · 0 评论 -
poj -Charm Bracelet 01背包
Charm BraceletTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluSubmit StatusDescriptionBessie has gone to the mall's jewelry store and spies a charm br原创 2016-10-10 19:53:34 · 272 阅读 · 0 评论 -
POJ3041-Asteroids
AsteroidsCrawling in process...Crawling failedTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluSubmitStatus DescriptionInputOutput原创 2016-10-28 15:25:44 · 192 阅读 · 0 评论 -
【图灵杯】一个简单的问题
题目描述这是一个三层的字母塔。如何输出一个任意层数的字母塔呢?输入一个数字n(1输出n层的字母塔样例输入4样例输出 A ABA ABCBAABCDCBAcode:#include#includeint main(){ int n,t; while(~scanf("%d",&原创 2016-11-19 22:41:01 · 1392 阅读 · 0 评论 -
【图灵杯】薯条问题
题目描述薯片这次又遇到问题了==薯片有n个薯条棒,第i个薯条棒的长度为i,由于薯片能瞬间移动,所以薯片能在1秒内从这n个薯条棒里面选择一个或者多个,吃掉同样长的一部分,并且被吃掉部分的长度是正整数,问薯片至少多少时间能把这n个薯条棒都吃完?输入多组数据输入,每组数据第一行输入一个n(19).输出对于每组数据,输出最短的时间.样例输入34原创 2016-11-19 22:49:33 · 702 阅读 · 0 评论 -
【HPUOJ】Divide the pears (poj1664)
问题 D: Divide the pears时间限制: 1 Sec 内存限制: 128 MB提交: 11 解决: 11题目描述Macro非常喜欢吃梨,有一天他得到了ACMICPC组委会送给他的一筐梨子。他比较心疼学生,就打算把梨子分给学生吃。现在他要把M个梨子放到N个盘子里面 (我们允许有的盘子为空) ,你能告诉Macro有多少种分法吗?(请注意,如果有三个盘子,我原创 2017-02-22 18:45:58 · 285 阅读 · 0 评论 -
【HPUOJ】Two Bags of Bread
问题 G: Two Bags of Bread时间限制: 5 Sec 内存限制: 128 MB提交: 12 解决: 6题目描述n/k Lialosiu喜欢吃男饭面包店的面包,曾经创下一天吃15袋面包的记录。校庆那天,Lialosiu又去买了两袋面包,第一袋有x(x>=1)个面包,第二袋有y(y>=1)个面包。他是一个很粗心的人,以至于他把第一袋面包弄丢了。幸好他原创 2017-02-22 20:33:17 · 604 阅读 · 0 评论 -
【poj】3187全排列
E - ECrawling in process...Crawling failedTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmitStatus DescriptionFJ and his cows enjoy playing a m原创 2017-03-08 18:03:41 · 525 阅读 · 0 评论 -
【POJ1383】BFS,迷宫,最长路
LabyrinthTime Limit:2000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmit StatusDescriptionThe northern part of the Pyramid contains a very large and complicated原创 2016-08-02 20:38:29 · 1212 阅读 · 0 评论 -
【poj2631】Roads in the North
Roads in the NorthTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluSubmit StatusDescriptionBuilding and maintaining roads among communities in the far No原创 2016-08-02 19:08:43 · 427 阅读 · 0 评论 -
【POJ】River Hopscotch
River HopscotchTime Limit:2000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluSubmit StatusDescriptionEvery year the cows hold an event featuring a peculiar version原创 2016-07-26 18:02:20 · 381 阅读 · 0 评论 -
【POJ1905】
Expanding RodsTime Limit:500MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmit StatusDescriptionWhen a thin rod of length L is heated n degrees, it expands to a new le原创 2016-07-27 11:21:11 · 228 阅读 · 0 评论 -
【POJ1979】
Red and BlackTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionThere is a rectangular room, covered with square tiles. Each tile i原创 2016-07-28 11:37:32 · 254 阅读 · 0 评论 -
【POJ 3620】Avoid The Lakes
Avoid The LakesTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluSubmit StatusDescriptionFarmer John's farm was flooded in the most recent storm, a fact原创 2016-07-28 19:06:46 · 361 阅读 · 0 评论 -
poj题目分类
转载:http://www.cnblogs.com/kuangbin/archive/2011/07/29/2120667.html初期:一.基本算法: (1)枚举. (poj1753,poj2965) (2)贪心(poj1328,poj2109,poj2586) (3)递归和分治法. (4)递推. (5)构造法.(poj32转载 2016-07-29 18:18:38 · 202 阅读 · 0 评论 -
【POJ3984】迷宫问题
迷宫问题Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluSubmit Status Practice POJ 3984Description定义一个二维数组: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1,转载 2016-07-29 21:07:50 · 223 阅读 · 0 评论 -
【POJ1328】Radar Installation
Radar InstallationTime Limit:1000MS Memory Limit:10000KB 64bit IO Format:%lld & %lluSubmit Status Practice POJ 1328DescriptionAssume the coasting is an infinite straigh原创 2016-07-31 19:46:57 · 170 阅读 · 0 评论 -
【POJ2485】prim算法
HighwaysTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluSubmit StatusDescriptionThe island nation of Flatopia is perfectly flat. Unfortunately, Flatopia原创 2016-08-04 11:13:25 · 305 阅读 · 0 评论 -
【POJ 1611】The Suspects并查集
The SuspectsTime Limit:1000MS Memory Limit:20000KB 64bit IO Format:%lld & %lluSubmit StatusDescriptionSevere acute respiratory syndrome (SARS), an atypical pneumonia of u原创 2016-08-01 19:16:02 · 248 阅读 · 0 评论 -
【POJ1321】棋盘问题
棋盘问题Time Limit:1000MS Memory Limit:10000KB 64bit IO Format:%lld & %lluSubmit StatusDescription在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和原创 2016-07-28 17:09:07 · 315 阅读 · 0 评论 -
【POJ1985】Cow Marathon(基础 树的直径)
Cow MarathonTime Limit:2000MS Memory Limit:30000KB 64bit IO Format:%lld & %lluSubmit StatusDescriptionAfter hearing about the epidemic of obesity in the USA, Farmer John原创 2016-08-02 11:42:49 · 322 阅读 · 0 评论 -
【poj】2718全排列next—permutation
全排列原创 2017-03-16 20:00:33 · 237 阅读 · 0 评论