现在的位置: 首页 > 综合 > 正文

杭电ACM题目分类

2018年05月02日 ⁄ 综合 ⁄ 共 11785字 ⁄ 字号 评论关闭

杭电ACM题目分类

——鱼尾尾

基础题:10001001100410051008101210131014101710191021102810291032103710401048105610581061107010761089109010911092109310941095109610971098110611081157116311641170119411961197120112021205121912341235123612481266127912821283130213031323132613301334133513391390139113931395139714051406140714081412141814201465149115551562156315701587167316781708171817201785179918591862187718981976197719851994200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203920402042204320482049205120532055205620572060206120712073207520762078208120832088209020922093209520962097209820992101210321062107210921132114211521232131213221332135213621372138213921432148215321562161216221642178218621922200220122122304230923172401250025022503250425192520252125232524253525372539254725482549255025512552255525602561256225662567256827002710

DP1003102401029106910741087111411591160117111761203123112571260128414211789197820592084215921912544257126022709

搜索:1010101510161026107210751175118011811238123912401241124212531254131213721548159716711677172818001983210221412553256326052612261416162717

贪心:10091045104910501051105212571800203721112124218723912570

数学题:101810651071111511411162121212201492159317011722179818401999203620802086208921052108213423032393243825292547254825522554260126032701

递推:113311431207124912671284129012971396199219951996201320142044204520462047205020642065206720682070207720852151215421602190250125122563256927092716

字符串:102010391043106210731075108811131161120012511256128813211328137918041860198219842017202420252026202720432052205420722074208721312137214021632203220623522500254925642565256725722609260727072708271927212723

大数:100210421133125012971715175318652100

胡搞:1022102710301035112811651209121012151222122812291230123712591276128613371342136113701506157715971702171617271868187018961981198619871988199719981999205820622089209020942104211621172135217521832184219723032368237023742511252225272600261527032711271427152725

博弈:10771404151715241525152715361564172917301846184718481849185021472149217621772188

母函数:108511711398207920822110215221892566

hash1264128014251496180025222600

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

按照ac的代码长度分类(主要参考最短代码和自己写的代码)
短代码:0.01K--0.50K;中短代码:0.51K--1.00K;中等代码量:1.01K--2.00K;长代码:2.01K以上。

短:1147116319222211221522292232223422422245226223012309231323342346234823502352238124052406

中短:101412811618192819612054208220852213221422442247225522572258226022652272227322752287229923292376

中等:1001101810371039105411251655216522102212222522402241224322462254230323122339

长:1009101010152050

附注:

短(中短)代码但要有思想(一定难度):10141147161819612054208222322244225522732287229923132348235223762406

长代码但没有难度:2050

---------------------------------------------------------------------------------------------------------------------------
动态规划:
1037 A decorative fence1050 To the Max1088 滑雪、1125 Stockbroker Grapevine1141 Brackets Sequence1159 Palindrome1160 Post Office1163 The Triangle1458 Common Subsequence1579 Function Run Fun1887 Testing the CATCHER1953 World Cup Noise2386 Lake Counting

简单、模拟题:
1001 Exponentiation 1002 487-32791003 Hangover 1701 Dissatisfying Lift2301 Beat the Spread!2304 Combination Lock2328 Guessing Game2403 Hay Points 2406 Power Strings2339 Rock, Scissors, Paper2350 Above Average2218 Does This Make Me Look Fat?2260 Error Correction2262 Goldbach\'s Conjecture2272 Bullseye2136 Vertical Histogram2174 Decoding Task2183 Bovine Math Geniuses2000 Gold Coins2014 Flow Layout2051 Argus2081 Calendar1918 Ranking List1922 Ride to School1970 The Game1972 Dice Stacking1974 The Happy Worm1978 Hanafuda Shuffle1979 Red and Black1617 Crypto Columns1666 Candy Sharing Game1674 Sorting by Swapping1503 Integer Inquiry1504 Adding Reversed Numbers1528 Perfection1546 Basically Speaking1547 Clay Bully1573 Robot Motion1575 Easier Done Than Said?1581 A Contesting Decision1590 Palindromes1454 Factorial Frequencies1363 Rails1218 THE DRUNK JAILER1281 MANAGER1132 Border1028 Web Navigation
博弈类
1067 取石子游戏、1740 A New Stone Game2234 Matches Game1082 Calendar Game 2348 Euclid\'s Game2413 How many Fibs?2419 Forests
初等数学
1003 Hangover1045 Bode Plot1254 Hansel and Grethel1269 Intersecting Lines1401 Factorial1410 Intersection2363 Blocks 2365 Rope2242 The Circumference of the Circle2291 Rotten Ropes2295 A DP Problem2126 Factoring a Polynomial2191 Mersenne Composite Numbers2196 Specialized Four-Digit Numbers1914 Cramer\'s Rule1835 宇航员、1799 Yeehaa!1607 Deck1244 Slots of Fun1269 Intersecting Lines1299 Polar Explorer1183 反正切函数的应用、

图论及组合数学
2421 Constructing Roads2369 Permutations2234 Matches Game2243 Knight Moves2249 Binomial Showdown2255 Tree Recovery2084 Game of Connections1906 Three powers1833 排列、1850 Code1562 Oil Deposits1496 Word Index1306 Combinations1125 Stockbroker Grapevine1129 Channel Allocation1146 ID Codes1095 Trees Made to Order、找规律2247 Humble Numbers2309 BST2346 Lucky tickets2370 Democracy in danger2365 Rope2101 Honey and Milk Land
2028 When Can We Meet?2084 Game of Connections1915 Knight Moves1922 Ride to School1941 The Sierpinski Fractal1953 World Cup Noise1958 Strange Towers of Hanoi1969 Count on Canton1806 Manhattan 20251809 Regetni1844 Sum1870 Bee Breeding1702 Eva\'s Balance1728 A flea on a chessboard1604 Just the Facts1642 Stacking Cubes1656 Counting Black1657 Distance on Chessboard1662 CoIns1663 Number Steps1313 Booklet Printing1316 Self Numbers1320 Street Numbers1323 Game Prediction1338 Ugly Numbers1244 Slots of Fun1250 Tanning Salon1102 LC-Display1147 Binary codes1013 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计算几何,以Shamos1975年发表的一篇论文为诞生标志。其实两者有很大的不同。

部分题目分类统计:

网络流:
最大流:
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,

抱歉!评论已关闭.