STL
文章平均质量分 80
傲慢的么么forever
待到学有所成时,我会找到人生的意义。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
双向队列
C++ Double Ended Queues(双向队列) 双向队列和向量很相似,但是它允许在容器头部快速插入和删除(就像在尾部一样)。 Constructors 创建一个新双向队列 Operators 比较和赋值双向队列 assign() 设置双向队列的值 at() 返回指定的元素原创 2015-05-08 21:17:31 · 737 阅读 · 0 评论 -
poj 1862 Stripies
Stripies Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 13278 Accepted: 6255 Description Our chemical biologists have invented a new very useful form of life called stripies (in fact原创 2015-06-14 19:03:59 · 433 阅读 · 0 评论 -
POJ 3190 Stall Reservations
Stall Reservations Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 3660 Accepted: 1313 Special Judge Description Oh those picky N (1 <= N <= 50,000) cows! They are so picky that each原创 2015-06-10 15:41:37 · 543 阅读 · 0 评论 -
POJ 3050 Hopscotch
Hopscotch Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 2419 Accepted: 1728 Description The cows play the child's game of hopscotch in a non-traditional way. Instead of a linear set原创 2015-05-19 12:27:25 · 459 阅读 · 0 评论 -
POJ 3253 Fence Repair
Fence Repair Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 30189 Accepted: 9748 Description Farmer John wants to repair a small length of the fence around the pasture. He measures原创 2015-06-03 18:47:59 · 393 阅读 · 0 评论 -
Aoj 0525 Osenbei
pilot系列之最基础的穷竭搜索(初级篇)C题意:药药!切克闹! 煎饼果子来一套!有一个烤饼器可以烤r行c列的煎饼,煎饼可以正面朝上(用1表示)也可以背面朝上(用0表示)。一次可将同一行或同一列的煎饼全部翻转。现在需要把尽可能多的煎饼翻成正面朝上,问最多能使多少煎饼正面朝上? 输入:多组输入,每组第一行为二整数r, c (1 ≤ r ≤ 10, 1 ≤ c ≤ 10 000),剩下r行c列表原创 2015-05-22 10:16:50 · 788 阅读 · 0 评论 -
POJ 3187 Backward Digit Sums
Backward Digit Sums Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 5001 Accepted: 2876 Description FJ and his cows enjoy playing a mental game. They write down the numbers from 1 to原创 2015-05-21 15:31:45 · 428 阅读 · 0 评论 -
POJ 2531 Network Saboteur
Network Saboteur Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 9706 Accepted: 4633 Description A university network is composed of N computers. System administrators gathered inform原创 2015-05-07 17:40:15 · 591 阅读 · 0 评论 -
HDU 1045 Fire Net
Fire Net Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 7281 Accepted Submission(s): 4150 Problem Description Suppose that we have a sq原创 2015-05-06 15:23:27 · 421 阅读 · 0 评论 -
POJ 1111 Image Perimeters
Image Perimeters Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 8178 Accepted: 4903 Description Technicians in a pathology lab analyze digitized images of slides. Objects on a slide原创 2015-05-05 21:02:30 · 372 阅读 · 0 评论 -
POJ 1915 Knight Moves
Knight Moves Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 22794 Accepted: 10654 Description Background Mr Somurolov, fabulous chess-gamer indeed, asserts that no one else but him原创 2015-05-05 12:03:43 · 383 阅读 · 0 评论 -
POJ 3984 迷宫问题
迷宫问题 Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 9877 Accepted: 5848 Description 定义一个二维数组: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1,原创 2015-05-05 16:21:43 · 397 阅读 · 0 评论 -
HDU 1327 Knight Moves
Knight Moves Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 8010 Accepted Submission(s): 4719 Problem Description A friend of you is do原创 2015-05-05 11:10:12 · 500 阅读 · 0 评论 -
POJ 1208 The Blocks Problem
The Blocks Problem Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 4914 Accepted: 2090 Description Many areas of Computer Science use simple, abstract domains for both analytical and原创 2015-05-03 12:15:05 · 460 阅读 · 0 评论 -
POJ 3121 The SetStack Computer
The SetStack Computer Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 995 Accepted: 206 Description Background from Wikipedia: "Set theory is a branch of mathematics created principal原创 2015-05-03 12:09:52 · 649 阅读 · 0 评论 -
HDU 1387 Team Queue
Team Queue Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 1410 Accepted Submission(s): 475 Problem Description Queues and Priority Queu原创 2015-05-03 11:43:44 · 415 阅读 · 0 评论 -
POJ 3255 Roadblocks
Roadblocks Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 9479 Accepted: 3369 Description Bessie has moved to a small farm and sometimes enjoys returning to visit one of her best f原创 2015-07-25 17:01:50 · 461 阅读 · 0 评论
分享