路雪军 Carl

I love what I did!
posts - 12, comments - 1, trackbacks - 0, articles - 0
  C++博客 :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理

acm之pku题目分类

Posted on 2007-03-02 12:57 路雪军 阅读(8840) 评论(1)  编辑 收藏 引用
acm之pku题目分类

对ACM有兴趣的同学们可以看看
DP:
 1011   NTA                 简单题
 1013   Great Equipment     简单题
 1024   Calendar Game       简单题
 1027   Human Gene Functions   简单题
 1037   Gridland            简单题
 1052   Algernon s Noxious Emissions 简单题
 1409   Communication System   简单题,但是很容易看错~~~
 1425   Crossed Matchings   简单题
 1438   Asteroids!   简单题
 1459   String Distance and Transform Process   简单题
 1462   Team Them Up!   简单题
 1556   Heroes Of Might And Magic   简单题,不过背景蛮有意思的……
 1520   Duty Free Shop   简单题
 1524   Supermarket   简单题
 1301   The New Villa   简单题
 1303   Jury Compromise   其实不是很难,但是很容易错,555……
 1345   Best Deal                  简单题,但是也很容易错……555……
 1360   Radar Installation         简单题
 1396   The Umbrella Problem: 2054 简单题
 1058   Currency Exchange   简单题
 1076   Gene Assembly   简单题
 1092   Arbitrage   简单题
 1093   Monkey and Banana   简单题
 1094   Matrix Chain Multiplication   简单题
 1536   Labyrinth   简单题
 1100   Mondriaan s Dream   简单题,DP可以过,不过据说有复杂的组合公式
 1103   Hike on a Graph   简单题
 1134   Strategic Game   简单题
 1147   Formatting Text   简单题
 1148   The Game   简单题
 1161   Gone Fishing   简单题
 1180   Self Numbers   简单题
 1192   It s not a Bug, It s a Feature!   简单题
 1196   Fast Food   简单题
 1107   FatMouse and Cheese   简单题,不过题目描述有些混乱
 1136   Multiple   简单题,BFS
 1276   Optimal Array Multiplication Sequence   简单题
 1255   The Path   简单题
 1250   Always On the Run   简单题
 1213   Lumber Cutting   简单题
 1206   Win the Bonus   简单题
 1479   Dweep   无聊题
 1587   UP 100   无聊题,DP应该可以……但是太烦了……没做……
 1066   Square Ice   无聊题,目前已知的O(nlogn)算法要用***L……
您有没有简单点的O(nlogn)的算法?
 1245   Triangles   无聊题
 1022   Parallel Expectations   经典题,想了n久,最后发现可以DP,相当好的一道题
 1499   Increasing Sequences   经典题{}
 1039   Number Game         没有完美解决的题,感觉可以直接以所有剩下的数作为状态DP,
但是缺乏证明……
 1227   Free Candies   SRbGa的经典题,我看了oibh上的解题报告才做出来的……:(
 1234   Chopsticks   SRbGa的经典题……
图论:
 1525   Air Raid    简单题,最小路径覆盖
 1500   Pre-Post-erous!       简单题
 1501   Knockout Tournament   简单题
 1508   Intervals           对您来说应该是简单题,但我想了n久……:(,差分限制系统
 1333   Galactic Import   简单题
 1304   Tin Cutter   简单题,但是似乎有空间复杂度为O(n)的算法
 1310   Robot     简单题
 1311   Network   简单题
 1344   A Mazing Problem   简单题
 1395   Door Man   简单题,欧拉回路
 1372   Networking           简单题
 1406   Jungle Roads   简单题
 1053   FDNY to the Rescue!   简单题
 1055   Oh, Those Achin  Feet   不错的简单题
 1059   What s In a Name   简单题
 1064   Roads Scholar   简单题
 1082   Stockbroker Grapevine   简单题
 1085   Alien Security   简单题,我觉得我当时的算法好巧妙:)
 1097   Code the Tree   简单题
 1060   Sorting It All Out   简单题,但是规模要是大些的话……
 1105   FatMouse s Tour   简单题
 1119   SPF   简单题
 1127   Roman Forts   简单题
 1140   Courses   简单题
 1157   A Plug for UNIX   蛮不错的简单题
 1203   Swordfish   简单题
 1221   Risk   简单题,最短路
 1197   Sorting Slides   简单题,匹配
 1268   Is It A Tree?   不错的题,图论
 1273   It s Ir-Resist-Able!   简单题,图论
 1298   Domino Effect   简单题,最长路
 1260   King   简单题,差分限制系统……
 1291   MPI Maelstrom   不错的题,最长路
 1266   Gossiping   简单题
 1285   Shipping Routes   无聊题,最短路
 1313   Gears on a Board            无聊题
 1502   Plugged In                  无聊题,匹配应该可以,但是太烦了,没做……

 1568   WishingBone s Room Plan     无聊题,最大最小匹配,不过容易看错题~~~~~~
 1077   Genetic Combinations   无聊题,匹配
 1364   Machine Schedule     背诵题……匹配……
 1137   Girls and Boys   背诵题,匹配……
 1023   University Entrace Examination 经典题,但是和1576重复
 1576   Marriage is Stable  经典题,感人的背景,经典的算法……
 1249   Pushing Boxes   经典题,某人的论文写过,求割点和块+BFS可以在O(面积)的
时间内做出来,但是这题似乎已经比较老了
 1141   Closest Common Ancestors   没有完美解决,最简单的算法就能过,但要是规模大了……
 1084   Channel Allocation   尚未完美解决,我用搜索过的,不过是不是有更好的算法呢……?
 1231   Mysterious Mountain   SRbGa的经典题……
 1232   Adventure of Super Mario  SRbGa的经典题……
数学:
 1007   Numerical Summation of a Series 简单题,还是蛮有意思的
 1045   HangOver            简单题
 1049   I Think I Need a Houseboat   简单题
 1028   Flip and Shift      简单题,可以DP/BFS/……,但是实际上有数学方法可以直接判断出来
 1026   Modular multiplication of polynomials   简单题,感觉有比较简单的好算法,
但想不出来:(
 1307   Packets   简单题,不过也蛮经典的……
 1312   Prime Cuts   简单题
 1334   Basically Speaking   简单题
 1337   Pi   简单题
 1342   Word Index   简单题
 1349   Four Quarters   简单题
 1350   The Drunk Jailer   简单题
 1352   Number Base Conversion   简单题
 1353   Unimodal Palindromic Decompositions   规模不大,所以是简单题……
 1354   Extended Lights Out   简单题
 1362   Game Prediction      简单题
 1365   Mileage Bank         简单题
 1382   A Simple Task        简单题
 1383   Binary Numbers       简单题
 1403   Safecracker   简单题
 1408   The Fun Number System   简单题
 1486   Color the Tree   简单题
 1487   Playing Cards   简单题
 1489   2^x mod n = 1   简单题,应该有好算法,不过枚举就可以过……
 1503   One Person "The Price is Right"   简单题,POI Eggs的翻版
 1512   Water Treatment Plants   简单题,组合计数
 1526   Big Number   简单题,不过O(1)和O(n)还是有区别的:)
 1529   Enigmatic Travel   简单题,不过个人感觉题目描述很令人费解
 1530   Find The Multiple   简单题
 1537   Playing with a Calculator   简单题
 1577   GCD & LCM  简单题,分区联赛的题……
 1005   Jugs                简单题
 1543   Stripies   简单题
 1569   Partial Sums   简单题
 1062   Trees Made to Order   简单题
 1070   Bode Plot   简单题
 1073   Round and Round We Go   简单题,142857,我喜欢^_^
 1078   Palindrom Numbers   简单题
 1086   Octal Fractions   简单题
 1199   Point of Intersection   简单题
 1104   Leaps Tall Buildings   简单题
 1110   Dick and Jane   简单题
 1115   Digital Roots   简单题
 1113   u Calculate e   简单题
 1152   A Mathematical Curiosity   简单题
 1154   Niven Numbers   简单题
 1160   Biorhythms   简单题
 1163   The Staircases   简单题
 1177   K-Magic Number   简单题
 1184   Counterfeit Dollar   简单题
 1182   Keeps Going and Going and ...   简单题,我喜欢:)
 1284   Perfection   简单题
 1272   Numerically Speaking   简单题
 1269   Coconuts, Revisited   简单题
 1247   There s Treasure Everywhere!   简单题
 1241   Geometry Made Simple  简单题
 1202   Divide and Count   简单题
 1216   Deck   简单题
 1218   Ratio   简单题
 1261   Prime Land   简单题
 1212   Mountain Landscape   无聊题
 1410   Number Sequence   无聊题
 1401   Hilbert Curve Intersections   无聊题
 1331   Perfect Cubes   无聊题
 1322   Random Number   无聊题
 1535   Lucky Ticket   无聊题
 1539   Lot   无聊题
 1363   Chocolate            经典题……
 1366   Cash Machine         经典题!强烈推荐!
 1149   Dividing up          经典题,应该可以用1366的方法做,但似乎可以利用问题
的特殊性用贪心+DP在O(1)的时间内做出来
 1222   Just the Facts       经典题,没有完美解决,我的做法是O(logn^2)的,
据说可能有O(logn)的做法,但我没想到:(
 1475   Ranklist             没有完美解决,不知道您有没有好方法……
 1572   Bracelet             ~~~题义不明,感觉可能是判定欧拉回路的存在性,
但是过不去,555……
 1133   Smith Numbers   没有完美解决,数学
 1080   Direct Subtraction   尚未解决,我过的程序是错的,想和您讨论~~~
 1229   Gift?!   SRbGa的经典题……
 1238   Guess the Number   SRbGa的经典题……
 1239   Hanoi Tower Troubles Again!   SRbGa的经典题……
字符串处理:
 1050   Start Up the Startup 简单题
 1315   Excuses, Excuses!    简单题
 1151   Word Reversal   简单题,好像是什么Practice的……
 1170   String Matching   简单题
 1174   Skip Letter Code   不错的简单题
 1175   Word Process Machine   简单题
 1181   Word Amalgamation   简单题
 1038   T9                无聊题,单词树
 1330   DNA Translation   无聊题
 1335   Letter Sequence Analysis   无聊题
 1099   HTML   无聊题
 1243   URLs   无聊题
 1540   Censored!            经典题!强烈推荐!
 1511   Word Puzzles        没有完美解决的题,可以用后缀树……但是没多大意义……而且
                            我通过的程序是错的……
搜索:
 1002   Fire Net            简单题,CEOI2002的Guard的缩小版,搜索就可以
 1003   Crashing Balloon    简单题,很faint的题目,想了半天,最后发现最简单的搜索就能过
 1004   Anagrams by Stack   简单题,同样faint
 1320   DEL Command         简单题
 1496   Best Fit            简单题
 1179   Finding Rectangles   简单题
 1190   Optimal Programs   简单题
 1217   Eight   简单题
 1204   Additive equations   简单题
 1219   Pizza Anyone?   简单题
 1036   Enigma 2            无聊题,终于耐心读完题目后发现是
简单的搜索+模拟……faint……建议不要看……
 1089   Lotto   无聊题
 1054   For the Porsche   无聊题
 1302   Ships               ……题
 1031   Square Destroyer    变态题,:(:(:(:(,狂剪枝才过的……
 1297   Hexagon   变态题,标准解法是搜索……
 1008   Gnome Tetravex      经典题,个人感觉是很不错的卡时搜索,
不过似乎IOI不会出这种题型……
 1380   Microfiches         经典题!强烈推荐!
 1252   Island of Logic   经典题,不过也够老了……
 1237   Fans and Gems       SRbGa的经典题,变态,但是很有趣:)
模拟:
 1051   A New Growth Industry 简单题
 1300   Border   简单题
 1326   M*A*S*H   简单题
 1494   Climbing Worm   简单题
 1072   Microprocessor Simulation   简单题
 1098   Simple Computers   简单题
 1056   The Worm Turns   简单题
 1195   Blowing Fuses   简单题
 1189   Numbers That Count   简单题
 1144   Robbery   简单题
 1153   Tournament Seeding   简单题,但是直接计算好像不行,得模拟……:(
 1167   Trees on the Level   简单题
 1200   Mining               简单题
 1278   Pseudo-Random Numbers   简单题
 1257   Parking Lot   简单题
 1270   Nonstop Travel   简单题
 1207   The Knight, the Princess, and the Dragons   无聊题
 1169   Square Cipher   无聊题
 1176   Die and Chessboard   无聊题
 1178   Booklet Printing   无聊题
 1009   Enigma              无聊题,但是很容易错……:(
 1012   Mainframe           无聊题,但是很容易错……:(
  1324   Unix ls   无聊题,输出格式没说清楚~~~~~~~
 1336   Mark-up             无聊题
 1277   Transferable Voting   无聊题
 1279   Cowculations   无聊题
 1281   Hi-Q   无聊题
 1282   Call Forwarding   无聊题
 1065   Robots   变态题,太复杂啦~~~~~~~~~~~
 1208   Roll the Die!   变态题
 1388   Exchanges           经典题!强烈推荐!
 1236   Eat or Not to Eat?   SRbGa的经典题……模拟
几何:
 1575   Koch Curve          简单题
 1010   Area                简单题
 1565   Input               简单题
 1081   Points Within       简单题
 1165   Laser Lines   简单题,但是算法能否再改进呢……?
 1248   Video Surveillance   简单题,李彭煦的论文中写到过,好像是某年CTSC的……
 1299   Pendulum   简单题,我蛮喜欢的:)
 1090   The Circumference of the Circle   无聊题
 1271   Doing Windows   无聊题
 1280   Intersecting Lines   无聊题
 1296   Stars   经典变态题……
 1030   Farmland            变态题……现在我都为自己当时居然能做出来感到不可思议……
 1041   Transmitters        变态题……好烦人……现在绝对没有信心再做一遍了……
 1158   Treasure Hunt   经典题,zig教会我的……
 1139   Rectangles   没有完美解决
其它:
 1006   Do the Untwist      简单题
 1014   Operand             简单题
 1016   Parencodings        简单题
 1042   W s Cipher          简单题
 1047   Image Perimeters    简单题
 1514   Fake Tickets        简单题
 1029   Moving Tables       简单题,好像是线段树的经典题目之一,但是这题规模比较小,
所以不必用。
 1504   Slots of Fun        简单题
 1314   Uniform Generator   简单题
 1325   Palindromes         简单题
 1319   Black Box           简单题,但当初我没做出来……被zig教会的……555……

 1341   LED Test            简单题
 1338   Up and Down Sequences   简单题
 1339   Machined Surfaces   简单题
 1358   Moving Object Recognition   简单题
 1392   The Hardest Problem Ever   简单题
 1402   Magnificent Meatballs   简单题
 1405   Tanning Salon   简单题
 1414   Number Steps   简单题
 1423   (Your)((Term)((Project)))   简单题
 1427   An Old Stone Game   简单题
 1439   Area Ratio   简单题
 1449   Maximum Sum   简单题
 1476   Weird Clock   简单题
 1477   File Compression   简单题,不过我一直没做出来……后来被LC教会的……@&#*:)……
 1481   Namenum   简单题
 1482   Partitions   简单题,不过限制了空间……
 1484   Minimum Inversion Number   简单题
 1493   DPCM Encoding   简单题
 1495   Stacking Tower  简单题
 1057   Undercut   简单题
 1518   This Sentence is False   简单题,并查集
 1538   Cipher   简单题
 1546   Fillword   简单题,实在是有点……
 1552   Decoding Task   简单题
 1061   Web Navigation   简单题
 1063   Space Station Shielding   简单题
 1067   Color Me Less   简单题
 1068   P,MTHBGWB   简单题
 1071   Follow My Logic   简单题,但很可爱:)
 1074   To the Max   简单题
 1075   Set Me   简单题
 1079   Robotic Jigsaw   简单题,和我推荐的那题不同,这个题说了可以根据条件确定拼法
 1083   Frame Stacking   简单题
 1088   System Overload   简单题,约瑟夫环
 1091   Knight Moves   简单题
 1095   Humble Numbers   简单题
 1188   DNA Sorting   简单题
 1171   Sorting the Photos   简单题
 1156   Unscrambing Images   简单题
 1142   Maze   简单题
 1128   Atlantis   简单题
 1120   Chairlift   简单题
 1122   Clock   简单题
 1125   Floating Point Numbers   简单题
 1117   Entropy   简单题
 1109   Language of FatMouse   简单题,Dictionary的实现……
 1143   Data Bugs   简单题
 1146   LC-Display   简单题,LC……
 1159   487-3279   简单题
 1164   Software CRC   简单题
 1168   Function Run Fun   简单题
 1191   The Die Is Cast   简单题,并查集/bfs
 1286   Slurpys   不错的简单题
 1292   Integer Inquiry   简单题
 1293   Floppies   简单题
 1294   Golf   简单题
 1295   Reverse Text   简单题
 1274   Getting Chorded   简单题
 1251   Box of Bricks   简单题
 1244   Definite Values   简单题
 1242   Carbon Dating   简单题
 1240   IBM Minus One   简单题
 1201   Inversion   简单题
 1205   Martian Addition   简单题
 1210   Reciprocals   简单题
 1246   Instant Complexity   简单题,好像是某年CTSC的……
 1259   Rails   简单题,构造
 1033   Ambiguous Dates     无聊题
 1046   Double Vision       无聊题,直接枚举就可以了,但是有一些很faint的极端情况,
提交了n次才过……
 1485   Messy Matrix        无聊题,河北老前辈出的,麻烦的构造~~~~~~
 1111   Poker Hands   无聊题
 1118   N-Credible Mazes   无聊题,题义实在费解……
 1126   Bio-Informatics   无聊题
 1150   S-Trees   无聊题
 1209   April Fool s Joke   无聊题
 1267   Mapping the Route   无聊题
 1263   Time   无聊题
 1275   Run, Run, Runaround Numbers   无聊题
 1283   Making the Grade   无聊题
 1440   Bone Sort           背诵题,排序+最长不xx子序列,而且很容易看错~~~~~~~

 1025   Wooden Sticks       背诵题,排序+最长不xx子序列……
 1108   FatMouse s Speed    背诵题,排序+最长不xx子序列……
 1256   What Day Is It?   变态题,原来现行历法这么复杂……faint……
 1265   Append               经典题
 1384   Alice and Bob        经典题
 1390   Gates                经典题!强烈推荐!
 1087   Cracking the Code    经典题,不过要是能做成Output Only就更好了……
 1069   Plato s Blocks       经典题,没有解决得非常完美……
 1102   Phylogenetic Trees Inherited   经典题,贪心
 1130   Ouroboros Snake      经典题,构造
 1101   Gamblers   尚未完美解决,我开了巨大的hash才过的:(
 1498   Galactic Breakup    尚未完美解决……有没有“拆查集”?
 1019   Illusive Chase      没有完美解决的题,没给规模,感觉也许有比较好的算法,
但是没想出来,最后发现我的弱智算法居然0.01秒通过,faint……
 1235   DDR King   SRbGa的经典题……
 附:多版本pku题目分类及算法分类
按照ac的代码长度分类(主要参考最短代码和自己写的代码)
短代码:0.01K--0.50K;中短代码:0.51K--1.00K;中等代码量:1.01K--2.00K;长代码:2.01K以上。
短:1147、1163、1922、2211、2215、2229、2232、2234、2242、2245、2262、2301、2309、
2313、2334、2346、2348、2350、2352、2381、2405、2406;
中短:1014、1281、1618、1928、1961、2054、2082、2085、2213、2214、2244、2247、2255、
2257、2258、2260、2265、2272、2273、2275、2287、2299、2329、2376;
中等:1001、1018、1037、1039、1054、1125、1655、2165、2210、2212、2225、2240、2241、
2243、2246、2254、2303、2312、2339;
长:1009、1010、1015、2050。
附注:
短(中短)代码但要有思想(一定难度):1014、1147、1618、1961、2054、2082、2232、
2244、2255、2273、2287、2299、2313、2348、2352、2376、2406;
长代码但没有难度:2050。
---------------------------------------------------------------------------------------------------------------------------
动态规划:
1037 A decorative fence、1050 To the Max、1088 滑雪、1125 Stockbroker Grapevine、
1141 Brackets Sequence、1159 Palindrome、1160 Post Office、1163 The Triangle、
1458 Common Subsequence、1579 Function Run Fun、1887 Testing the CATCHER、
1953 World Cup Noise、2386 Lake Counting
简单、模拟题:
1001 Exponentiation 、1002 487-3279、1003 Hangover 、1701 Dissatisfying Lift、
2301 Beat the Spread!、2304 Combination Lock、2328 Guessing Game、2403 Hay Points 、
2406 Power Strings、2339 Rock, Scissors, Paper、2350 Above Average、
2218 Does This Make Me Look Fat?、2260 Error Correction、2262 Goldbach\'s Conjecture、
2272 Bullseye、2136 Vertical Histogram、2174 Decoding Task、2183 Bovine Math Geniuses、
2000 Gold Coins、2014 Flow Layout、2051 Argus、2081 Calendar、1918 Ranking List、
1922 Ride to School、1970 The Game、1972 Dice Stacking、1974 The Happy Worm、
1978 Hanafuda Shuffle、1979 Red and Black、1617 Crypto Columns、1666 Candy Sharing Game、
1674 Sorting by Swapping、1503 Integer Inquiry、1504 Adding Reversed Numbers、
1528 Perfection、1546 Basically Speaking、1547 Clay Bully、1573 Robot Motion、
1575 Easier Done Than Said?、1581 A Contesting Decision、1590 Palindromes、
1454 Factorial Frequencies、1363 Rails、1218 THE DRUNK JAILER、1281 MANAGER、
1132 Border、1028 Web Navigation、
博弈类
1067 取石子游戏、1740 A New Stone Game、2234 Matches Game、1082 Calendar Game 、
2348 Euclid\'s Game、2413 How many Fibs?、2419 Forests
初等数学
1003 Hangover、1045 Bode Plot、1254 Hansel and Grethel、1269 Intersecting Lines、
1401 Factorial、1410 Intersection、2363 Blocks 、2365 Rope、
2242 The Circumference of the Circle、2291 Rotten Ropes、2295 A DP Problem、
2126 Factoring a Polynomial、2191 Mersenne Composite Numbers、
2196 Specialized Four-Digit Numbers、1914 Cramer\'s Rule、1835 宇航员、
1799 Yeehaa!、1607 Deck、1244 Slots of Fun、1269 Intersecting Lines、
1299 Polar Explorer、1183 反正切函数的应用、
图论及组合数学
2421 Constructing Roads、2369 Permutations、2234 Matches Game、
2243 Knight Moves、2249 Binomial Showdown、2255 Tree Recovery、
2084 Game of Connections、1906 Three powers、1833 排列、1850 Code、
1562 Oil Deposits、1496 Word Index、1306 Combinations、1125 Stockbroker Grapevine、
1129 Channel Allocation、1146 ID Codes、1095 Trees Made to Order、
找规律2247 Humble Numbers、2309 BST、2346 Lucky tickets、2370 Democracy in danger、
2365 Rope、2101 Honey and Milk Land
2028 When Can We Meet?、2084 Game of Connections、1915 Knight Moves、
1922 Ride to School、1941 The Sierpinski Fractal、1953 World Cup Noise、
1958 Strange Towers of Hanoi、1969 Count on Canton、1806 Manhattan 2025、
1809 Regetni、1844 Sum、1870 Bee Breeding、1702 Eva\'s Balance、
1728 A flea on a chessboard、1604 Just the Facts、1642 Stacking Cubes、
1656 Counting Black、1657 Distance on Chessboard、1662 CoIns、1663 Number Steps、
1313 Booklet Printing、1316 Self Numbers、1320 Street Numbers、1323 Game Prediction、
1338 Ugly Numbers、1244 Slots of Fun、1250 Tanning Salon、1102 LC-Display、
1147 Binary codes、1013 Counterfeit Dollar、
---------------------------------------------------------------------------------------------------------------------------
题目分类
排序 1002(需要字符处理,排序用快排即可) 1007(稳定的排序) 2159(题意较难懂)
 2231 2371(简单排序) 2388(顺序统计算法) 2418(二叉排序树)
回溯搜索:1979(和迷宫类似) 1980(对剪枝要求较高)
数学计算  简单(或不值得做的题):1003 1004 1005 1068 1326 1656 1657 1658 1663
1922 1978 2000 2013 2014 2017 2070 2101 2105 2140 2190 2272 2301 2405 2419
          中等:1006(中国剩余定理) 1323 1969 2015(解密码) 2081(预处理)
2085(找规律)
难:  1014 1037 1147 2082  (这些是上课讲的)
高精度计算:1001(高精度乘法) 2413(高精度加法,还有二分查找)
历法:1008 2080 (这种题要小心)
枚举:1054(剪枝要求较高) 1650 (小数的精度问题)
数据结构的典型算法:1125(弗洛伊德算法) 2421(图的最小生成树)
动态规划:1163(经典题)
贪心:1328 1755(或用单纯形方法) 2054
模拟: 1281 1928 2083 2141 2015
递归: 1664
字符串处理:2121 2403
---------------------------------------------------------------------------------------------------------------------------
有标准模型的:
1125 1163 1183 1979 1185 1184 1187
寻找新算法的:
1014 1067 1147 1922 2082
调节情绪用:
1004 950 1218 1281 1928 1978 2000 2027
---------------------------------------------------------------------------------------------------------------------------
主流算法:
1.搜索 //回溯
2.DP(动态规划) 
3.贪心 
4.图论 //Dijkstra、最小生成树、网络流
5.数论 //解模线性方程
6.计算几何 //凸壳、同等安置矩形的并的面积与周长
7.组合数学 //Polya定理
8.模拟 
9.数据结构 //并查集、堆
10.博弈论 
//表示举例
非主流算法:
1.送分题 
2.构造 
3.高精度 
4.几何 
5.排序 
6.日期/时间处理 (这类题目相当多的)
7.数学方法 
8.枚举 
9.递推 
10.递归 
11.分治 

说明:
  显然“送分题”不是一种算法。但是ACM竞赛中经常有一些很简单很简单的题目,
   具体涉及内容繁杂,难以归类,干脆就管他们叫送分题。
  几何不同于计算几何,计算几何或者叫S计算几何,以Shamos在1975年发表的一篇
   论文为诞生标志。其实两者有很大的不同。
部分题目分类统计:
网络流:
最大流:
1087 a plug for UNIX
1149 PIGS
1273 drainage ditches
1274 the perfect stall
1325 machine schedule
1459 power network
2239 selecting courses
最小费用最大流:
2195 going home
?2400 supervisor, supervisee
压缩存储的DP
1038 bugs integrated inc
1185 炮兵阵地
2430 lazy cow
最长公共子串(LCS):
1080 human gene functions
1159 palindrome
1458 common subsequence
2192 zipper
凸包
1113 wall
2187 beauty contest

---------------------------------------------------------------------------------------------------------------------------
说明:递推算动归, 离散化算数据结构, 并查集算数据结构, 博弈算动归, 麻烦题一般都是
不错的综合题, 最短路算图论,数据的有序化算排序
麻烦题:
1697, 1712, 1713, 1720, 1729, 1765, 1772, 1858, 1872, 1960, 1963, 2050, 2122,
2162, 2219, 2237,
简单题目:
1000, 1003, 1004, 1005, 1007, 1046, 1207, 1226, 1401, 1504, 1552, 1607, 1657,
1658, 1674, 1799, 1862, 1906, 1922, 1929, 1931, 1969, 1976, 2000, 2005, 2017,
 2027, 2070, 2101, 2105, 2109, 2116, 2136, 2160, 2190, 2232, 2234, 2275, 2301,
2350, 2363, 2389, 2393, 2413, 2419,
推荐:
1063, 1064, 1131, 1140, 1715, 2163,
杂题:
1014, 1218, 1316, 1455, 1517, 1547, 1580, 1604, 1663, 1678, 1749, 1804, 2013,
2014, 2056, 2059, 2100, 2188, 2189, 2218, 2229, 2249, 2290, 2302, 2304, 2309,
2313, 2316, 2323, 2326, 2368, 2369, 2371, 2402, 2405, 2407,
推荐:

1146, 1147, 1148, 1171, 1389, 1433, 1468, 1519, 1631, 1646, 1672, 1681, 1700,
1701, 1705, 1728, 1735, 1736, 1752, 1754, 1755, 1769, 1781, 1787, 1796, 1797,
1833, 1844, 1882, 1933, 1941, 1978, 2128, 2166, 2328, 2383, 2420,
高精度:
1001, 1220, 1405, 1503,
排序:
1002, 1318, 1877, 1928, 1971, 1974, 1990, 2001, 2002, 2092, 2379, 2388, 2418,
推荐:
1423, 1694, 1723, 1727, 1763, 1788, 1828, 1838, 1840, 2201, 2376, 2377, 2380,
搜索
容易:
1128, 1166, 1176, 1231, 1256, 1270, 1321, 1543, 1606, 1664, 1731, 1742, 1745,
 1847, 1915, 1950, 2038, 2157, 2182, 2183, 2381, 2386, 2426,
不易:
1024, 1054, 1117, 1167, 1708, 1746, 1775, 1878, 1903, 1966, 2046, 2197, 2349,
推荐:
1011, 1190, 1191, 1416, 1579, 1632, 1639, 1659, 1680, 1683, 1691, 1709, 1714,
1753, 1771, 1826, 1855, 1856, 1890, 1924, 1935, 1948, 1979, 1980, 2170, 2288,
2331, 2339, 2340,
数据结构

容易:
1182, 1656, 2021, 2023, 2051, 2153, 2227, 2236, 2247, 2352, 2395,
不易:
1145, 1177, 1195, 1227, 1661, 1834,
推荐:
1330, 1338, 1451, 1470, 1634, 1689, 1693, 1703, 1724, 1988, 2004, 2010, 2119, 2274,
动态规划
容易:
1018, 1050, 1083, 1088, 1125, 1143, 1157, 1163, 1178, 1179, 1189, 1208, 1276, 1322,
1414, 1456, 1458, 1609, 1644, 1664, 1690, 1699, 1740, 1742, 1887, 1926, 1936, 1952,
1953, 1958, 1959, 1962, 1975, 1989, 2018, 2029, 2033, 2063, 2081, 2082, 2181, 2184,
 2192, 2231, 2279, 2329, 2336, 2346, 2353, 2355, 2356, 2385, 2392, 2424,
不易:
1019, 1037, 1080, 1112, 1141, 1170, 1192, 1239, 1655, 1695, 1707, 1733, 1737, 1837,
1850, 1920, 1934, 1937, 1964, 2039, 2138, 2151, 2161, 2178,
推荐:
1015, 1635, 1636, 1671, 1682, 1692, 1704, 1717, 1722, 1726, 1732, 1770, 1821, 1853,
 1949, 2019, 2127, 2176, 2228, 2287, 2342, 2374, 2378, 2384, 2411,
字符串:
1488, 1598, 1686, 1706, 1747, 1748, 1750, 1760, 1782, 1790, 1866, 1888, 1896, 1951,
2003, 2121, 2141, 2145, 2159, 2337, 2359, 2372, 2406, 2408,
贪心:
1042, 1065, 1230, 1323, 1477, 1716, 1784,
图论
容易:
1161, 1164, 1258, 1175, 1308, 1364, 1776, 1789, 1861, 1939, 1940, 1943, 2075, 2139,
 2387, 2394, 2421,
不易:
1041, 1062, 1158, 1172, 1201, 1275, 1718, 1734, 1751, 1904, 1932, 2173, 2175, 2296,
网络流:
1087, 1273, 1698, 1815, 2195,
匹配:
1274, 1422, 1469, 1719, 2060, 2239,
Euler:
1237, 1637, 1394, 2230,
推荐:
2049, 2186,
计算几何
容易:
1319, 1654, 1673, 1675, 1836, 2074, 2137, 2318,
不易:
1685, 1687, 1696, 1873, 1901, 2172, 2333,
凸包:
1113, 1228, 1794, 2007, 2187,
模拟
容易:
1006, 1008, 1013, 1016, 1017, 1169, 1298, 1326, 1350, 1363, 1676, 1786, 1791,
 1835, 1970, 2317, 2325, 2390,
不易:
1012, 1082, 1099, 1114, 1642, 1677, 1684, 1886,
数学
容易:
1061, 1091, 1142, 1289, 1305, 1306, 1320, 1565, 1665, 1666, 1730, 1894, 1914,
2006, 2042, 2142, 2158, 2174, 2262, 2305, 2321, 2348,
不易:
1067, 1183, 1430, 1759, 1868, 1942, 2167, 2171, 2327,
推荐:
1423, 1450, 1640, 1702, 1710, 1721, 1761, 1830, 1930, 2140,
---------------------------------------------------------------------------------------------------------------------------
POJ部分题目分类
算法入门(简单题)
1000 1003 1004 1005 1006 1007 1015(学会dp) 1016 10171018 1042(dp)
1046(简单数学) 1054(简单的剪枝) 1062(dp) 1068
1095 1113(凸包,但规模小,O(n^2)的也行)  1125  1127  1152  1154
1183(用笔算算)  1218 1221 1244 1281 1312 1313(找找规律)
1315(学会搜索) 1321(同1315) 1323(dp)  1326 1331 1491
1493(找规律) 1503(高精度) 1504 1517 1519 1547 1552
1563(考虑仔细一点,还要注意精度) 1650(不是好题) 1651(dp) 1656
1657 1658 1663 1675(计算几何) 1681 1702(三进制运算) 1799
1828 1862(简单数学) 1887 1906(实战好题) 1914 1915(宽搜)
1928 1936 1978 1979 2000 2019(dp好题) 2027(垃圾题) 2028
2078(不要重复搜索) 2080 2081 2083 2140 2141 2184(活用dp)
2190 2192 2193 2196 2199 2209 2211  2243 2248(搜索)
2260 2261 2262 2291 2301 2304 2309(找规律) 2316 2317
2318 2325 2355 2357 2363 2378(树的dp) 2381 2385 2393
2394 2395 2413(高精度基础) 2418 2419
经典
1011(搜索好题)
1012(学会打表)
1013
1019(它体现了很多此类问题的特点)
1050(绝对经典的dp)
1088(dp好题)
1157(花店,经典的dp)
1163(怎么经典的dp那么多呀???)
1328(贪心)
1458(最长公共子序列)
1647(很好的真题,考临场分析准确和下手迅速)
1654(学会多边形面积的三角形求法)
1655(一类无根树的dp问题)
1804(逆序对)
2084(经典组合数学问题)
2187(用凸包求最远点对,求出凸包后应该有O(N)的求法,可我就是调不出来)
2195(二分图的最佳匹配)
2242(计算几何经典)
2295(等式处理)
2353(dp,但要记录最佳路径)
2354(立体解析几何)
2362(搜索好题)
2410(读懂题是关键)
2411(经典dp)
趣味
1067(很难的数学,但仔细研究,是一片广阔的领域)
1147(有O(n)的算法,需要思考)
1240(直到一棵树的先序和后序遍历,那么有几种中序遍历呢?dp)
1426(是数论吗?错,是图论!)
1648(别用计算几何,用整点这个特点绕过精度的障碍吧)
1833(找规律)
1844(貌似dp或是搜索,其实是道有趣的数学题)
1922(贪心,哈哈)
2231
2305(不需要高精度噢)
2328(要仔细噢)
2356(数论知识)
2359(约瑟夫问题变种)
2392(有趣的问题)
很繁的题
1001
1008
1087(构图很烦,还有二分图的最大匹配)
1128(USACO)
1245
1329
1550(考的是读题和理解能力)
1649(dp)
2200(字符串处理+枚举)
2358(枚举和避免重复都很烦)
2361(仔细仔细再仔细)
难题
1014(数学证明比较难,但有那种想法更重要)
1037(比较难的dp)
1405(高精度算法也分有等级之分,不断改进吧)
2002(不知道有没有比O(n^2*logn)更有的算法?)
2054(极难,很强的思考能力)
2085(组合数学)
2414(dp,但要剪枝)
2415(搜索)
2423(计算几何+统计)
多解题
1002(可以用排序,也可以用统计的方法)
1338(搜索和dp都可以)
1664(搜索和dp都练一练吧)
2082(这可是我讲的题噢)
2352(桶排和二叉树都行)
---------------------------------------------------------------------------------------------------------------------------
Instruction:
If there is an * after a problem ID, it means a simple note followed below.
For freshman:
1001 1002 1007 1008 1012 1016 1068 1163 1218(*)
1281 1316 1326 1411 1552 1647 1650 1658 1659 1663
1666 1928 1936 2013 2014 2017 2080 2083 2105 2136
2141 2163 2242 2244 2328 2386 2403 2405 2413 2419
A little skill needed:
1013 1026 1029(similar to 1013) 1147 1152 1405 1649 1657 1922
2081 2085 2140 2159 2247 2309 2402
Math problem:
1006 1061 1095 1183 1700(*) 1844 1862 2084(*) 2232 2234(*)
Search:
1011(*) 1129 2078(*) 2362(similar to 1011)
Graph:
1062 1094 1125 1128 1130 1655 1661 1674(*) 1909 2049 2195(*) 2395(*)
2421
DP problems:
1029 1050 1080 1088 1651 1664 1742(*) 2181 2192 2392(similar to 1742)
2397 2411(*)
Greedy:
1017(*) 1065 1083(*) 1089 1323 1328 1505(*) 1828 2082(*) 2393
Data Structure :
1988(*) 2051(*) 2182(*) 2236(*) 2424
Others:
1150(*) 1654(*) 1833 1835 2299(*) 2406(*) 2407
A bit complicated:
1021(*) 1054 1863(*) 2015
Great Challenging
1014(*)
Note:
1011: 很经典的剪支
1014: 难在数学上
1017: 严格的数学证明貌似不容易
1021: 有点繁,考察对图形进行各种旋转的处理
1083: 巧妙的思考角度
1150: 分奇偶讨论,lg(n)算法
1218: 三行就够了,虽然简单,但也有优劣之别
1505: 二分加贪心
1654: 做法也许很多吧,本人用有向面积做的
1674: 计算圈的个数(算是graph 吧)
1700: 数学证明不容易
1742: O(m*n)的算法
1863: 要耐心地慢慢写…^_^
1988: 并查集
2051: 堆
2078: 不难,但剪支可以做到很好
2082::O(n),你想到了吗?
2084: 卡特兰数
2182: 线段树
2195: 最小费用最大流
2234: 经典博弈算法
2236: 并查集
2299: 二分思想
2395: Kruskal 最小生成树的拓展
2406: KMP
2411: 用二进制串来表示状态
---------------------------------------------------------------------------------------------------------------------------
Judge Online
基础题:
1000,1003,1004,1005,1008,1012,1013,1016,1019,1022
1026,1028,1029,1035,1046,1247,1298,1316,1326,1401
1504,1547,1552,1647,1648,1649,1650,1651,1652,1653
1657,1658,1663,1750,1754,1922,1928,1969,2027,2080
2081,2085,2105,2136,2190,2210,2249,2272,2273,2275
2291,2295,2301,2304,2316,2328,2334,2381,2390
基本数据结构:
堆:
1442
排序分治:
1002,1007,1400,2084,2282,2299,2318,2379,2388
递归枚举搜索:
1010,1011,1018,1020,1054,1062,1256,1321,1363,1501
1650,1659,1664,1753,2078,2083,2303,2310,2329
动态规划:
1015,1163,1404,1651,1661,1742,2292,2385,2392
贪心:
1017,2054,2336,2393
图论网络流:
1021,1024,1027,1088,1125,1130,1154,1502,1751,2309
2312,2386,2387,2394,2395
数论:
1006,1014,1023,1061,1152,1183,1730,2262
计算几何:
1654,2179,2284
模拟题:
1049,1051,1234,1207,1218,1281,2271,2302,2317,2339
高精度数值计算:
1001,1131,1503,2305,2325,2389
概率统计:
1037,1050
其他:
1009,1147,2082
---------------------------------------------------------------------------------------------------------------------------
POJ已完成题目小结
基础题(比较容易,应该很快做出来的):
1000,1003,1004,1005,1008,1012,1013,1016,1019,1026,1046,1102,1107,1247,1298,1316,1326,
1519,1543,1547,1552,1565,1581,1647,1649,1648,1651,1652,1657,1658,1731,1799,1922,1928,
1969,2000,2013,2014,2017,2027,2070,2080,2081,2105,2136,2140,2041,2159,2190,2301,2350,
2388,2389,2390
数据结构(包括最短路,最小生成树等):2421,2092
排序分治: 1002,1007,2388
递归枚举搜索(有些题目还是比较难编的): 1054,2083,1318, 1321,1363,1659,1664,1062,
1190,1831,2386
博弈论1067,
构造(比较难想出来的) 1091, 1147
动态规划(有些很基础的,但也有很难的哦): 1163, 1014, 1037, 1062, 1088, 1190
贪心(仔细想想还是能够想到的): 1017, 1042,1328, 1659,2092
图论:1125
数论(想啊想): 1006,1014,1061,1953
计算几何: 1654
模拟题(有些模拟题那个难编阿): 1207,1218,1281,1323,1350,1455,1928,2051,2424
高精度数值计算(算是基础题): 1001,1131,1405,1517,1604,2389
密码题里面一道可以的:2015
---------------------------------------------------------------------------------------------------------------------------
POJ已完成题目小结
(截至2005年4月22日)
归类:
分类原则:以算法核心指向为主
算法
题目
枚举
1012 1046 1387 1411 2245 2326 2363 2381
搜索、回溯、遍历
1010 1011 1022 1054 1111 1118 1129 1190 1562 1564 1573 1655 2078 2184 2225 2243
 2312 2362 2378 2386
动态规划
1015 1018 1050 1088 1159 1163 1221 1322 1458 1579 1651 1664 1742 1745 1953 2033
2084 2229 2385 2392 2393
图论(不含图遍历)
1125 1128 1130 2320 2387 2394 2395
贪心
1017 1328 1862 1922 2054 2209 2313 2325 2370
计算几何
1648 1654 1927 2007 2098 2208 2242 2276 2318
数论
1061 1320 1597 1808 1811 1845
其他数学、历法
1005 1006 1008 1032 1067 1152 1183 1209 1401 1423 1491 1517 1528 1543 1707 1799
1844 1905 1914 1942 2080 2126 2140 2190 2210 2234 2249 2299 2321 2348 2354 2365
任意精度运算、数字游戏
1001 1023 1047 1060 1079 1131 1140 1142 1207 1220 1284 1289 1306 1316 1338 1405
1454 1503 1504 1519 1565 1650 1969 2000 2006 2081 2247 2262 2305 2316 2389
基础算法、数据结构
1002 1007 1028 1281 1308 2092 2104 2106 2340 2352 2366 2371
字符串处理
1016 1051 1126 1318 1572 1917 1936 2039 2083 2136 2271 2317 2330
人工逻辑
1013
机械模拟、语言解析器
1049 1600 1684 1928 2050 2339 2383
其他题目
1014 1026 1045 1083 1102 1146 1477 1647 1656 1657 1660 1926 2018 2082 2231 2309
2359 2369 2380
构造
1147 1256 1426 1659 1833 1898 1906 2015 2085 2144 2201 2319 2356
无聊题目
1000 1003 1004 1218 1298 1326 1552 1658 1665 2013 2017 2027 2105 2109 2272 2301
 2328 2350 2388 2390
总计:228题
---------------------------------------------------------------------------------------------------------------------------
模拟题:
1002 1004 1005 1008 1016 1326 1928 2136 2424
高精度:
1001
枚举:
1012 1013
贪心:
1017 1922
循环:
1026
动态规划:
1163
递归:
1664
最小生成树:
2421
其他:
1000 1147 1657 1658 2082
---------------------------------------------------------------------------------------------------------------------------
Judge On line
本学期刚开始做,不是很多,分得较细!
一、按类型
基础题:
1000,1003,1004,1005,2013,2017
模拟题:
1281 1922 1928
2080 (细心)
排序分治:
1002
动态规划:
1037  (大规模)
2084 (做高精度)
贪心:
2054
数论:
1001 整数运算(作高精度)
1014 集合划分,与分治
1147 1163 2081 2085数列问题
几何有关的题目:
1054 解析几何+搜索
2014
2016计算几何
2082集合的合并,运算(几何角度)
2083 分形(纯数学)
图:
1125
利用题目所给信息来推演:
2015
二、按难易
简单题
最基础的适应POJ的习题:1000 1003 1004 1005 2013 2017
需要根据情景稍微动下脑筋的习题:1922
需要对语言有很深刻的了解,锻炼基本功的:1002 1281 2014 2081
要求初步熟练算法的习题:1928
中档题:
锻炼细心考虑问题全面的习题:1001 2015 2080
要求熟练算法的习题:1054 1163 2084

难题:
对数学要求很高的题目:2083 2085
对算法要求很高的题目:1125 2054
对综合能力要求很高的题目:1037 2016 2082
技巧性高的题目:1147
锻炼英文读题的题目:2015 2082
三、需要有很强的判断力的题目:
判断高精度: 2084
判断耗时:1002
判断变量类型:1001
要求会寻找题目以外的信息:2080

Feedback

# re: acm之pku题目分类   回复  更多评论   

2007-08-21 14:07 by 大工业
好好,,

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理