HOJ 题目分类 by wywcgs

简单题(包含模拟、数论中最基础的题):

1001 A+B

1002 A+B+C

1004 Prime Palindromes

1010 The Angle

1011 UNIX ls

1012 Decoding Task

1014 Niven Numbers

1015 Nearly prime numbers

1025 Skew Binary

1039 Factorial

1043 Maya Calendar

1057 Mileage Bank

1069 Prime Land

1071 Time

1074 Gossiping

1076 Ordered Fractions

1078 u Calculate e

1080 Digital Roots

1081 Scramble Sort

1084 Booklet Printing

1088 Do the Untwist

1089 Word Amalgamation

1094 Packets

1101 TEX Quotes

1107 Prime Cuts

1109 Uniform Generator

1110 Excuses, Excuses!

1117 Octal Fractions

1128 Perfect Cubes

1131 Basically Speaking

1138 LC-Display

1142 S-Trees

1148 Gridland

1152 The Blocks Problem

1153 Ecological Bin Packing

1155 国家利益

1160 Power of Cryptography

1165 Mutant Flatworld Explorers

1166 Greedy Gift Givers

1168 Trees on the level

1190 Gondwanaland Telecom

1191 ID Codes

1200 All Squares

1201 Ananagrams

1205 Factors and Factorials

1209 Cola

1214 Fibonacci Coding

1221 Perfect Pth Powers

1224 Crazy Tea Party

1233 Adam's Genes

1238 Border

1241 Factorial Frequencies

1247 Perfection

1251 Polynomial Showdown

1263 Crypto Columns

1267 Polly Nomials

1271 Biker's Trip Odometer

1272 Candy Sharing Game

1280 Unreliable Message

1302 Sum of Factorials

1305 A Contesting Decision

1309 Helping Florida

1312 Reserve Roman Notation

1317 Flip and Shift

1318 Moving Tables

1321 Parencodings

1331 Deck

1337 Web Navigation

1365 Digital Product

1370 Candy

1384 Palindrome Number

1386 Gossipers

1389 Election

1392 Easy Task

1401 Gigantic Sums

1403 Palindromes

1404 M*A*S*H

1408 Pi

1409 Up and Down Sequences

1410 Machined Surfaces

1415 Does This Make Me Look Fat?

1413 Word Index(*) 

1423 The Hardest Problem Ever

1425 Polar Explorer

1430 World's Worst Bus Schedule

1436 Integer Inquiry

1443 Matrix Chain Multiplication

1446 Binomial Showdown

1453 Artificial Intelligence?

1457 Error Correction

1458 France '98

1459 Goldbach's Conjecture

1462 Bee Maja(*)

1469 Anagram Groups

1471 Simple Computers

1477 All in All

1480 Diplomatic License

1481 Polygon Programming with Ease

1483 Paths on a Grid

1496 World Cup Noise

1500 Strange Towers of Hanoi

1511 Average is not Fast Enough!

1513 Code the Tree

1514 Decode the Tree

1515 Etaoin Shrdlu

1518 Hard to Believe, but True!

1519 Assistance Required

1522 Edge

1526 Drink, on Ice

1527 Bean Counting

1528 Factoring Large Numbers

1529 Maze Traversal

1533 Substitution Cypher

1540 AutoFish

1543 Dick and Jane(*)

1554 Request for Proposal

1555 Australian Voting

1557 The Trip

1560 Factovisors

1595 There's Treasure Everywhere!

1599 Box of Bricks

1600 Island of Logic

1610 Twenty Questions

1611 Cache Simulation

1623 Blowing Fuses

1626 Programmer, Rank Thyself

1628 Magnificent Meatballs

1631 Tanning Salon

1634 W's Cipher

1637 HangOver

1649 Count on Canton

1655 Yeehaa!

1657 Formula Racing

1670 Run Length Encoding

1678 Knockout Tournament

1684 Symmetric Order

1685 Flow Layout

1688 Speed Limit

1696 No Brainer

1702 Team Rankings

1703 To and Fro

1725 Argus

1732 Orders

1741 Magic Trick

1744 Grandpa is Famous

1746 Filling Out the Team

1757 Y2K Accounting Bug

1764 Soundex

1766 Dog & Gopher

1768 Mine Sweeper

1769 Choose and Divide

1773 Airline Hub

1776 Steps

1796 Hanafuda Shuffle

1803 Make a Sequence(*)

1804 Leaky Cryptography

1813 Primary Arithmetic

1830 Bridge Hands

1832 Building a New Depot

1840 Kaleidoscope

1848 Jolly Jumpers

1853 WERTYU

1863 整数的排序

1864 Fibonacci

1866 猩猩点灯

1871 整数的表示

1882 All Integer Average

1888 The Counting Problem

1896 Average Speed

1900 A Multiplication Game

1905 Stack 'em Up

1914 Antiprime numbers

1937 Repeatless Numbers

1939 任务的分配(*)

1945 孔明棋

1951 Beavergnaw

1955 Tic Tac Toe

1960 Euclid's Game

1962 Above Average

1963 Time Zones

1965 Ferry Loading II

1968 Rock, Scissors, Paper

1973 Guessing Game

1979 Fractal

1980 Game of Connections

1987 Recursive Function

1994 Monochromatic Triangles

1995 Venn Diagram

1997 Multiplying Matrices

1999 Data Manager

2010 Simple Problem

2012 Sort and Merge

2016 Conic Distance

2017 Peter's smokes

2022 Mersenne Composite Numbers

2033 Ubiquitous Religions

2045 Ambiguous permutations

2057 Complicated Translation

2058 Diagonal Primes(*)

2066 Word Reversal

2067 Adding 1s, 2s, and 3s

2071 Keep on Truckin'

2072 Blurred Vision

2075 Finding Nemo

2076 Series Determination

2080 Ferry Loading III

2082 Rock-Paper-Scissors Tournament

2088 Delta-wave

2089 4th point

2094 Common permutation

2100 Beat the Spread!

2101 Traditional BINGO

2102 Brownie Points I

2103 Magic Bitstrings

2105 Bungee Jumping(*)

2107 Crashing Robots

2111 Electrical Outlets

2116 Countable Numbers

2117 Long Division

2119 Acrophobic Cows

2122 Factstone Benchmark

2127 Ball bearings

2129 Sylvester construction

2134 Hardware

2142 Linear world

2149 Anagrammatic Distance

2151 Scrabble

2153 Nim

2155 Box walking

2160 Bin Packing

2161 On Storing Clothes

2169 Pixel Shuffle

2171 Rotate and Cut

2173 Interpreting Control Sequences

2174 Tornado!

2176 Pascal Library

2179 Where Are My Genes

2180 Computer DJ

2181 Take Your Vitamins

2183 Extrusion

2186 Context-Free Clock

2191 Consecutive Digits in a Rational Number



恶心题(编码量巨大,或者有很无聊很BT的trick,反正都没有什么意思):

1041 HotLine

1082 A Well-Formed Problem

1047 Department(*)

1127 DNA Translation(*)

1310 Three Sides Make a Triangle

1416 Manifest Destiny(*)

1559 CDVII



贪心:

1003 Mixing Milk

1049 Radar Installation

1054 Game Prediction

1065 Entropy

1225 Supermarket

1314 Wooden Sticks

1349 Gone Fishing

1400 Minimizing Maximizer(注:HOJ贪心可以AC,但是本题数据有误)

1913 Intervals

1941 超市收银问题

2035 Center of Symmetry

2051 Expedition

2114 Necklace Decomposition

2143 Songs

2164 Keep the Customer Satisfied



动态规划:

1005 Fast Food

1031 Piggy-Bank

1042 I-KeyBoard

1058 Number Triangles

1061 Fat Cat's cousin II

1090 The Staircases

1139 Formatting Text(*)

1141 Dividing up

1181 Ugly Numbers

1192 Dollars

1215 Health Power

1217 Tango Tango Insurrection

1227 Common Subsequence

1249 Optimal Array Multiplication Sequence

1252 The Doors

1288 Bridging Signals

1293 Prison Rearrangement

1316 Human Gene Functions

1388 The Brick Stops Here

1393 Bundling

1402 整数划分问题

1437 The Tower of Babylon

1444 Humble Numbers

1447 Compromise

1461 Advanced Fruits(*)

1485 A Good Helper

1486 The Longest SubSequence

1523 Fold(*)

1562 Tiling Up Blocks

1574 Gift?!(*)

1579 Chopsticks

1593 Triangles

1598 Always On the Run

1603 Brackets Sequence(*)

1651 DNA Laboratory

1654 Dory’s Phonebook

1656 Magic Trick

1672 Huffman's Greed

1680 One Person 'The Price is Right'

1697 Alphacode

1711 Investment

1719 Spiderman(*)

1731 The Lost House(*)

1733 Phone numbers

1738 Land Division Tax(*)

1740 Long Night of Museums(此题想用DP的话需要竭尽全力的优化,用搜索+剪枝有可能0.00s AC)

1754 To Europe! To Europe!

1755 Test the Rods

1760 The jackpot

1770 Old Wine Into New Bottles

1780 Decoding Morse Sequences

1806 Confusing Login Names

1853 Tight Words

1877 No Tipping

1893 Tian Ji -- The Horse Racing

1904 Adventures in Moving - Part V(*)

1912 Density map

1936 Brackets

1942 OS进程调度

1977 Recaman's Sequence

2001 Selection

2014 Tiling

2019 The Top Shelf

2023 Zipper(*) 

2044 Supermarket

2056 Bookshelf

2061 Great Wall Renovation

2074 Exact Change Only

2085 Wavio Sequence

2091 Chess

2108 Funny Games(*)

2124 Tri Tiling

2132 Easter holidays

2133 Tourist

2139 Spiderman's workout

2145 Tour

2148 Computer Transformation

2156 Colored stones

2178 Optical Fiber

2188 WordStack

2193 Time to Graduate

2195 Pascal's Travels

2196 Job Scheduling by Open Bidding



模式算法(字符串处理、正则表达式等):

1021 Complicated Expressions

1092 Forcal

1100 Simply Syntax

1133 Mark-up(*)

1242 Identifying Legal Pascal Real Constants

1244 Evaluating Simple C Expressions

1275 It's Logical

1284 Molecular Formula

1466 Friends

1468 HTML

1944 方程题!!

1952 Power Strings

2049 Any fool can do it(*)

2069 Jimmy's Riddles(*)

2184 Pasting Strings

2189 Single Digit Adder

2192 Constant Irritation



搜索(包括枚举、回溯+剪枝,DFS,BFS,A*,IDA*等):

1009 Fat Cat

1018 Multiple

1020 Direct Visibility

1022 Spacecraft Malfunction

1028 Secret Code

1029 The Proper Key(*)

1030 Labyrinth

1040 The Game of Master-Mind(*)

1044 Transportation

1048 Cipher

1049 Sticks

1050 Moving Object Recognition

1053 Holedox Moving

1066 Substrings

1070 Word

1072 Puzzle

1073 Append

1075 The Castle

1083 N-Credible Mazes

1085 Finding Rectangles

1087 Self Numbers

1091 Tin Cutter

1093 L-system(*)

1095 Crosswords

1097 Robot

1099 Lining Up

1105 Egyptian Multiplication(*)

1119 Atlantis

1121 Erdos Numbers

1122 Number Game(*)

1126 Smith Numbers

1134 Maze

1136 Robbery(*)

1140 The Game

1159 Tree Summing

1179 The Dole Queue

1219 A Flea on a Chessboard

1223 Hidden Password

1226 Lord of the Ring(*)

1266 Phone Home

1273 Peg Game

1281 Lagrange's Four-Square Theorem

1307 Choose Your Words Carefully

1320 Square Destroyer(*)

1325 Puzzle Out

1347 487-3279

1357 Calling Extraterrestrial Intelligence Again

1372 方程的解数

1390 Maze(*)

1391 Boastin' Red Socks

1394 Shortcut

1399 Hang or not to hang

1419 Deeper Blue

1422 Asteroids!

1426 Door Man

1442 Lotto

1448 Dungeon Master

1455 The Settlers of Catan

1487 Fleet Commander

1488 TMD

1497 Warez Test(*)(传说中用IDA*的巨难题)

1505 Push!!(*)

1512 Bound Found

1524 Genetic Code

1525 Largest Rectangle in a Histogram

1538 File Fragmentation

1548 Crypt Kicker II

1573 Farewell, My Friend(*)(据说也是用IDA* + 网络流)

1597 Pushing Boxes

1604 Cable Master

1619 The Die Is Cast

1629 Safecracker

1692 Choose Your Own Adventure

1723 Finding Nemo

1736 A Game on the Chessboard

1749 Doggone Moles

1797 Red and Black

1838 Traffic Jam

1868 八数码

1870 Race

1874 Trip

1880 Zipf's Law

1889 Different Digits

1892 The Rotation Game

1898 Babelfish

1902 Pairsumonious Numbers

1906 Contact

1908 Party Lamps

1929 Hardwood Species

1947 小明与小红的故事(*)

1949 Hay Points

1956 Square

1974 Matrix

1978 Terrible Sets

1989 The Most Frequent Word

2000 Maximum Submatrix

2009 Deduction

2013 Turn Over Turn Over

2024 Lenny's Lucky Lotto Lists

2026 Specialized Four-Digit Numbers

2040 This Sentence is False

2042 I hate SPAM, but some people love it(*)

2046 Bullshit Bingo

2048 Decorate the wall

2055 Astonishing Movie Plan

2063 It's Pandaren Brewmaster Time!

2064 Journey to Tibet

2073 The Door/Key Problem

2092 Gopher and hawks

2096 Roads in the North

2112 WorstWeather Ever

2115 Playground

2118 Boggled Cows

2125 Prerequisites?

2126 Pizza delivery

2141 Exploding CPU

2144 Sudoku

2154 Dropping tests

2157 RSI

2158 Do it!

2159 The mysterious X network

2163 4 Values whose Sum is 0

2166 Black Box

2172 Consecutive Ones

2182 Packing Dominoes(*)

2187 Right-Hand Rule

2197 Who needs 8 Queens when you can have N?



计算几何:

1024 JaWs

1027 Equipment Box

1032 Lifting the Stone

1035 The Bulk

1046 Pipe

1079 Problem Bee

1096 Intervals

1102 Jack Straws

1143 Area

1188 Orchard Trees

1212 Area of Overlap(*)

1248 Intersecting Lines

1376 Cake

1387 Billiard

1439 The Circumference of the Circle

1451 Globetrotter

1489 ATDS(*)

1517 Global Roaming

1551 Polylops

1571 Nice Milk(*)

1605 Wall

1890 That Nice Euler Circuit

1964 Temple of Dune(*) 

2054 Stacking Cylinders

2068 Triangle Centers

2081 Pick-up sticks

2104 Cutting a polygon

2121 War on Weather

2146 Mothy(*)

2152 Convex area



数论、高精度计算、数值算法(高斯消元法等)、组合数学:

1006 Weird Clock

1008 How many N

1013 Just The Facts

1034 Simple Arithmetics

1036 Complete the sequence!

1051 Random Walk(*)

1052 Chocolate

1062 数列极差问题

1104 Expanding Fractions(*)

1120 Cog-Wheels(*)

1135 Date Bugs

1145 Cog-Wheels 2(*)

1156 The Cat in the Hat

1183 Street Numbers(*)

1277 Rhyme Schemes

1296 Big Number

1315 Modular multiplication of polynomials

1348 Biorhythms

1356 Prime Judge

1368 Very Simple Arithmetic

1385 Pibonacci(*)

1533 Fibonacci Numbers

1548 Watching Watches

1625 Single-Player Games

1671 Fractran(*)

1700 I Conduit!(*)

1778 Binary Stirling Numbers(*)

1787 C Looooops(*)

1788 Death to Binary?

1842 Raising Modulo Numbers

1881 Ones

1926 Chain

1931 A Star not a Tree?(*)

1953 Relatives(*)

1957 Blocks

1970 Persistent Numbers

1991 Happy 2005

2015 Crossed ladders

2036 Polynomial Remains

2060 Fibonacci Problem Again(*)

2065 Fibonacci Number

2079 So you want to be a 2^n-aire?

2084 The Colored Cubes(*)

2110 The Embarrassed Cryptographer

2138 Jackpot

2167 Ignore the Garbage

2170 Crane Operator(*)



图论(不含最短路、最小生成树、网络流、匹配等):

1007 SPF

1033 Play on Words

1045 John's trip

1098 NetWork

1114 Frame Stacking

1115 Channel Allocation

1116 Alien Security

1170 Following Orders

1211 HIT's Powerstation

1336 Sorting It All Out

1352 Mystery

1361 Map of Ninja House

1396 November Rain

1584 Hanoi Tower Troubles Again!

1635 Split Windows(*)

1903 Snow Clearing

1943 平面上的点

2021 Colored Sticks

2078 Window Pains

2120 Is It A Tree?

2177 ICPC Strikes Again

2190 Connect



单/全源最短路径(Dijkstra、Floyd、Bellman-Ford):

1020 Afshung Pizza Delivery

1068 King

1113 Stockbroker Grapevine

1125 Railroad

1130 Galactic Import

1164 The Postal Worker Rings Once

1202 Route Finding(*)

1236 Domino Effect

1306 Which Way Do I Go?(*)

1437 Arbitrage

1440 Knight Moves

1450 Frogger

1460 Heavy Cargo

1464 From Dusk Till Dawn

1494 Hinge Node Problem

1516 Fiber Network

1565 The Geodetic Set Problem

1566 Cave Raider(*)

1620 It's not a Bug, It's a Feature!

1653 Heavy Transportation

1735 Sightseeing trip

1751 Tangled in Cables

1752 All Roads Lead to Albuquerque, er, Rome(*)

1763 Fire Station

1801 Name the Crossing(*)

1948 回家

2047 106 miles to Chicago

2062 Help the Hurricane Victims

2123 Walk Through the Forest

2147 Adventurous Driving

2168 Working with Relations



最小生成树:

1614 Communication Planning for Phobos

1632 Jungle Roads

1658 Picnic Planning

1811 Freckles

1833 Truck History

1961 Arctic Network

2162 Buy or Build



图匹配:

1021 Housing Complexes

1056 Machine Schedule

1086 Don't Get Rooked

1335 What's In A Name?

1353 Terrorist Attack

1576 Mysterious Mountain

1624 Sorting Slides

1851 Gopher II

1950 Jogging Trails(*)(这个暴搜可以过,但是真正的做法是一般图匹配的花算法)

2025 Going Home

2077 T-Shirt Gumbo



网络流:

1228 Power Network

1345 A Plug for UNIX

1646 Cable TV Network

2113 Kingdom

2194 Leaping Lizards



数据结构(包括并查集、N元树、栈、队列等):

1067 Rails

1371 食物链

1452 Tree Recovery

1456 Team Queue

1504 Family Tree

1530 Compound Words

1564 The Suspects

1612 The Tree Movers

1642 Corporative Network

1930 Forests

2185 Mobiles



其它(我叫不出名字的算法,或者需要特殊的数据结构):

1016 Joseph's problem I

1017 Joseph's problem II

1019 Grandpa's Other Estate

1026 Run away(*)

1077 Synchronous Design

1154 The Skyline Problem

1196 Power Crisis

1216 Where's the Marble

1259 Equation Elation

1278 Fully Diversified Sequences of Sets

1374 Rain

1441 Eeny Meeny Moo

1463 Quadtree

1467 Quadtree II

1563 Quad Trees

1669 In Danger

1673 Binary Search Heap Construction

1860 Mars Maps

1867 经理的烦恼

1909 Picture

2037 Mayor's posters

2099 Ultra-QuickSort

你可能感兴趣的:(Algorithm_经典)