ACM题解系列之一:刘汝佳:《算法竞赛入门经典》(第2版)

题是书中的题,解法参照了书中的解法,不少解法都做了简化和改进。

做程序,就要努力做到自己的程序是最好的!


第3章例题

POJ1488 UVA272 UVALive5381 TEX Quote【输入输出】

POJ2538 ZOJ1884 UVA10082 WERTYU【输入输出】

HDU1318 POJ1590 UVA401 ZOJ1325 Palindromes【回文+入门练习】

UVA340 UVALive5448 Master-Mind Hints

UVA1583 UVALive3355 Digit Generator

UVA1584 UVALive3225 Circular Sequence


第3章习题

UVA1585 UVALive3354 Score

UVA1586 UVALive3900 Molar mass

UVA1225 UVALive3996 Digit Counting

UVA455 Periodic Strings

UVA227 Puzzle

UVA232 UVALive5171 POJ1888 Crossword Answers

UVA1368 UVALive3602 ZOJ3132 DNA Consensus String

UVA202 UVALive5141 Repeating Decimals

UVA10340 POJ1936 ZOJ1970 All in All

UVA1587 UVALive3214 POJ2160 Box

UVA1588 UVALive3712 POJ3158 Kickdown

UVA11809 Floating-Point Numbers链接:题解链接之一题解链接之二


第4章例题

UVA1339 UVALive3213 POJ2159 ZOJ2658 Ancient Cipher

UVA489 Hangman Judge

UVA133 The Dole Queue

UVA213 UVALive5152 Message Decoding

UVALive5198 UVA512 Spreadsheet Tracking

UVA12412 A Typical Homework (a.k.a Shi Xiong Bang Bang Mang)



第4章习题

UVALive3520 UVa1590 POJ2799 IP Networks




第5章例题

UVA10474 Where is the Marble?

UVA101 HDU1612 POJ1208 The Blocks Problem

UVA10815 Andy's First Dictionary

UVA156 Ananagrams


UVA136 Ugly Numbers



第5章习题

UVALive4983 UVa1593 POJ3959 Alignment of Code



第6章例题


HDU1241 POJ1562 UVa572 Oil Deposits



UVA10129 POJ1386 HDU1116 ZOJ2016 Play on Words





第6章习题


UVA439 POJ2243 HDU1372 ZOJ1091 Knight Moves





第7章例题

UVA725 UVALive5362 Division

UVA11059 Maximum Product

UVA10976 Fractions Again?!

UVA524 UVALive5270 HDU1016 ZOJ1457 Prime Ring Problem

UVA129 Krypton Factor



UVA10603 Fill




第7章习题


第8章例题


第8章习题


第9章例题


第9章习题


第10章例题


UVALive5910 UVA1641 POJ4022 ASCII Area


第10章习题



第11章例题


第11章习题















原文地址:https://www.cnblogs.com/tigerisland/p/7564274.html