POJ题目分类(一)

2014-11-24 12:59:05 · 作者: · 浏览: 4

主流算法:

1.搜索 //回溯

2.DP(动态规划)

3.贪心

4.图论 //Dijkstra、最小生成树、网络流

5.数论 //解模线性方程

6.计算几何 //凸壳、同等安置矩形的并的面积与周长

7.组合数学 //Polya 定理

8.模拟

9.数据结构 //并查集、堆

10.博弈论

1, 排序


1423, 1694, 1723, 1727, 1763, 1788, 1828, 1838, 1840, 2201, 2376,2377, 2380, 1318,

1877, 1928, 1971, 1974, 1990, 2001, 2002, 2092, 2379,

1002(需要字符处理,排序用快排即可)

1007(稳定的排序)

2159(题意较难懂)

2231 2371(简单排序)

2388(顺序统计算法)

2418(二叉排序树)

2, 搜索、回溯、遍历

1022 1111 1118 1129 1190 1562 1564 1573 1655 2184 2225 22432312 2362 2378

2386,1010,1011,1018,1020,1054,1062,1256,1321,1363,1501,1650,1659,1664,1753,

2078,2083,2303,2310,2329

简单: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,1979(和迷宫类似) 1980(对剪枝要求较高)

3、 历法

1008 2080 (这种题要小心)

4、 枚举

1012,1046, 1387, 1411, 2245, 2326, 2363, 2381, 1054(剪枝要求较高),1650 (小数的精度问题)

5、 数据结构的典型算法

容易: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, 1125(弗洛伊德算法) ,2421(图的最小生成树)

6、 动态规划

1037 A decorative fence、 1050 To theMax、 1088 滑雪、 1125 Stockbroker Grapevine、 1141 BracketsSequence、 1159 Palindrome、 1160 Post Office、 1163 The Triangle、 1458 Common Subsequence、 1579 Function RunFun、 1887 Testing the CATCHER、 1953 World CupNoise、 2386 Lake Counting

7、 贪心

1042, 1065, 1230, 1323, 1477, 1716,1784,1328 1755(或用单纯形方法),2054,1017, 1328, 1862, 1922 ,2054, 2209, 2313, 2325, 2370。

8、 模拟

容易: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,1281 1928 2083 21412015

9、 递归

1664

10、字符串处理

1488, 1598, 1686, 1706, 1747, 1748, 1750,1760, 1782, 1790, 1866, 1888, 1896, 1951, 2003, 2121, 2141, 2145, 2159, 2337,2359, 2372, 2406, 2408, 1016 1051 1126 1318 1572 1917 1936 2039 2083 2136 22712317 2330,2121 2403

11、数论

1006,1014,1023,1061,1152,1183,1730,2262

12、几何有关的题目

凸包:1113, 1228, 1794, 2007, 2187,1113 wall,2187 beauty contest 容易:1319,1654, 1673, 1675, 1836, 2074, 2137, 2318, 不易:1685, 1687, 1696,1873, 1901, 2172, 2333,

13、任意精度运算、数字游戏、高精度计算

1001 1023 1047 1060 1079 1131 1140 11421207 1220 1284 1289 1306 1316 1338 1405 1454 1503 1504 1519 1565 1650 1969 20002006 2081 2247 2262 2305 2316 2389 1001, 1220, 1405, 1503,1001(高精度乘法) 2413(高精度加法,还有 二分查找)

14、概率统计 1037,1050

15、小费用最大流、最大流

2195 going hom,2400 supervisor, supervisee,1087 a plug for UNIX,1149 PIGS,

1273 drainage ditches,1274 the perfect stall, 1325 machine schedule,1459 power network,2239 selecting courses

16、压缩存储的 DP

1038 bugs integrated inc,1185 炮兵阵地,2430lazy cow

17、最长公共子串(LCS)

1080 human gene functions,1159 palindrome,1458 commonsubsequence,2192 zipper

18、图论及组合数学


2421ConstructingRoads. 2369Permutations、

2234MatchesGame. 2243 Knight Moves、

2249BinomialShowdown、 2255 TreeRecovery、

2084 Game of Connections、

1906Threepowers、 1833 排列、

1850Code、 1562Oil Deposits、

1496WordIndex、 1306Combinations、

1125 Stockbroker Grapevine、

1129ChannelAllocation、 1146 IDCodes、

1095 Trees Made to Order、找规律

2247HumbleNumbers、 2309 BST、

2346Luckytickets、 23