STL
文章平均质量分 77
Stand_over_sun
这个作者很懒,什么都没留下…
展开
-
hduoj1004,Let the Balloon Rise,STL map,第一次边学边用,现在还没碰到第二次
Let the Balloon RiseProblem DescriptionContest time again! How excited it is to see balloons floating around. But to tell you a secret, the judges' favorite time is guessing the most popular pro原创 2012-10-14 13:32:11 · 555 阅读 · 0 评论 -
hduoj1238,Substrings,搜索,练习string的使用
SubstringsProblem DescriptionYou are given a number of case-sensitive strings of alphabetic characters, find the largest string X, such that either X, or its inverse can be found as a substring原创 2012-11-07 19:07:34 · 574 阅读 · 0 评论 -
POJ3087,Shuffle'm Up,有人说这是bfs...
Shuffle'm UpDescriptionA common pastime for poker players at a poker table is to shuffle stacks of chips. Shuffling chips is performed by starting with two stacks of poker chips, S1 and S2, ea原创 2012-11-10 18:38:51 · 775 阅读 · 0 评论 -
POJ1426,Find The Multiple,bfs...注意类型 5兆内存过了...
Find The MultipleDescriptionGiven a positive integer n, write a program to find out a nonzero multiple m of n whose decimal representation contains only the digits 0 and 1. You may assume that原创 2012-11-10 18:03:36 · 1198 阅读 · 0 评论 -
POJ2251,Dungeon Master,三维bfs水,切起来很爽
Dungeon MasterDescriptionYou are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with rock. It takes one min原创 2012-11-10 19:39:29 · 537 阅读 · 0 评论 -
POJ3126,Prime Path,想漏了一点,坑了好久
Prime PathDescriptionThe ministers of the cabinet were quite upset by the message from the Chief of Security stating that they would all have to change the four-digit room numbers on their off原创 2012-11-10 18:13:59 · 502 阅读 · 0 评论 -
POJ3414,Pots,隐式图搜索
PotsDescriptionYou are given two pots, having the volume of A and B liters respectively. The following operations can be performed:FILL(i) fill the pot i (1 ≤ i ≤ 2) from the tap;DR原创 2012-11-10 19:27:56 · 433 阅读 · 0 评论