《算法竞赛入门经典——训练指南》第一章相关内容

 

问题求解策略 (General Problem Solving Techniques)

例题 (Examples)

 

例题 1UVa11292The Dragon of Loowater排序后用贪心法 题解   
例题 2UVa11729Commando War用贪心法求最优排列;用“相邻交换法”证明正确性

 题解

例题 3UVa11300Spreading The Wealth用代数法进行数学推导;中位数 题解
例题 4LA3708Graveyard推理;参考系 题解
例题 5UVa10881Piotr's Ants等效变换;排序 题解
例题 6LA2995Image is Everything三维坐标系;迭代更新 
例题 7UVa11464Even Party部分枚举;递推 
例题 8LA3401Colored Cubes部分枚举;贪心 
例题 9UVa11210Chinese Mahjong回溯法;以中国麻将为背景 
例题 10UVa11384Help is needed for Dexter问题转化;递归 
例题 11UVa10795A Different Task汉诺塔问题;递归 
例题 12LA3971Assemble二分法;贪心 
例题 13LA3635Pie二分法 
例题 14UVa11520Fill the Square求字典序最小的解;贪心 
例题 15LA3902Network树上的最优化问题;贪心 
例题 16LA3177Beijing Guards二分法;贪心 

 

入门习题 (Exercises:Beginner)

 

UVa11636Hello World!
UVa11039Building Designing
LA3213Ancient Cipher
LA3602DNA Consensus String
UVa10970Big Chocolate不需要动态规划
UVa10340All in All
UVa10382Watering Grass经典模型;贪心
LA3303Songs相邻交换法
LA5842Equipment需认真分析题目
LA5844Leet以“火星文”为背景的题目
(extra)UVa10012How Big Is It?用最小的矩形包住n<=8个圆。回溯法
(extra)UVa10020Minimal coverage数轴上有一些线段,选一些总长度尽量少的线段,覆盖区间[0,M]
(extra)UVa10026Shoemaker's Problem经典问题。贪心法
(extra)UVa10317Equating Equations 
(extra)UVa10318Security Panel 
(extra)UVa10670Work Reduction 

 

中级习题 (Exercises:Intermediate)

 

UVa10905Children's Game贪心。容易想错!建议编程并提交题解1
LA4254Processor二分法
UVa11627Slalom二分法
UVa11134Fabled Rooks经典问题的变形
UVa11100The Trip, 2007
LA3266Tian Ji - The Horse Racing有多种方法
UVa11389The Bus Driver Problem有多种方法
LA4094Wonder Team
LA3507Keep the Customer Satisfied经典问题的变形
LA4324Ugly Windows注意细节
LA4328Priest John's Busiest Day认真分析题目
LA4636Cubist Artwork有趣的题目;逻辑推理
LA4253Archery枚举。注意特殊情况和精度
LA3667Ruler搜索
LA3403Mobile Computing枚举二叉树
LA3621Power Calculation经典的搜索题目;注意优化
(extra)UVa10037Bridge有趣的过河问题。分情况讨论;贪心法
(extra)UVa10602Editor Nottoobad 
(extra)UVa10716Evil Straw Warts Live 
(extra)UVa11127Triple-Free Binary Strings 

 

提高习题 (Exercises:Advanced)

 

LA4725Airport
LA4850Installations
LA2757Supermarket经典问题
LA5693Compress the String搜索。需要优化
LA5704Yummy Triangular Pizza回溯法。https://oeis.org/A006534
UVa10825Anagram and Multiplication枚举(需要猜想)
UVa10639Square Puzzle回溯法。注意细节
LA3406Bingo注意枚举方式
LA2108Houses Divided搜索;需要优化
LA4644Hobby on Rails比较繁琐的搜索题目
(extra)UVa10383Queen vs Rook 
(extra)UVa10411Another Game of Tetris 
(extra)UVa10414Denki Blocks 
(extra)UVa10492Optimal Mastermind Strategy 
(extra)UVa10571Products 
(extra)UVa10605Mines For Diamonds 
(extra)UVa10628Quadrills 
(extra)UVa10632Pyramid 
(extra)UVa10833Lunar Forest 
(extra)UVa11694Gokigen Naname 
(extra)UVa11794Dazzling Puzzle 
(extra)UVa11846Finding Seats Again 

 

高效算法设计 (Designing Efficient Algorithms)

例题 (Examples)

 

例题 17UVa11462Age Sort排序后用贪心法
例题 18UVa11078Open Credit System扫描、维护最大值
例题 19UVa11549Calculator ConundrumFloyd判圈算法
例题 20LA3905Meteor线性扫描;事件点处理
例题 21LA2678Subsequence线性扫描;前缀和;单调性
例题 22LA3029City Game递推;扫描法
例题 23LA3695Distant Galaxy枚举;线性扫描
例题 24UVa10755Garbage heap前缀和、降维、递推
例题 25LA2965Jurassic Remains中途相遇法

 

入门习题 (Exercises: Beginner)

 

UVa10125Sumsets中途相遇法
UVa10763Foreign Exchange快速检索
UVa10391Compound Words字符串检索;哈希表
UVa11054Wine trading in Gergovia扫描法
(extra)UVa10324Zeroes and Ones 

 

中级习题 (Exercises:Intermediate)

 

LA2963Hypertransmission扫描;维护信息
UVa10827Maximum sum on a torus前缀和;降维
LA4726Average数形结合或者单调队列
LA4950Selling Land
LA4356Fire-Control System扫描法
LA2689Cricket Field在W*H网格里找一个最大空正方形
LA5052Genome Evolution
LA3716DNA Regions利用数学变形或者数形结合
LA4621Cav
LA3693Balancing the Scale用空间换时间题解1
LA4294Shuffle有多种方法
LA5848Soju
LA4062You are around me ...
(extra)UVa10132File Fragmentation 
(extra)UVa10691Subway 
(extra)UVa11589Save the President 

 

提高习题 (Exercises: Advanced)

 

LA4851Restaurant
LA4629Knowledge for the masses

 

动态规划 (Dynamic Programming)

例题 (Examples)

 

例题 26LA3882And Then There Was One递归、问题转化
例题 27UVa10635Prince and PrincessLCS;可转化为LIS
例题 28UVa10891Sum避免重复计算
例题 29UVa11825Hacker's Crackdown集合动态规划;子集枚举
例题 30UVa10859Placing Lampposts树上的动态规划
例题 31LA3983Robotruck动态规划;滑动窗口优化;单调队列
例题 32LA4794Sharing Chocolate集合动态规划、状态精简

 

入门习题 (Exercises: Beginner)

 

UVa11584Partitioning by Palindromes入门题目
LA4256Salesman入门题目
UVa10534Wavio Sequence可以转化为经典问题,时间O(nlogn)
UVa11552Fewest Flops序列划分模型;状态设计
UVa11404Palindromic Subsequence可以转化为LCS
LA4731Cellular Network需要一点概率知识和推理
UVa11795Mega Man's Missions基础的集合动态规划
LA4727JumpJoseph问题的变形
LA3530Martian Mining模型简单,但需要减少重复计算
UVa10564Paths through the Hourglass类似01 背包问题
UVa10817Headmaster's Headache集合动态规划
LA2038Strategic Game树上动态规划(基础题)
LA3363String Compression字符串动态规划
LA2031Dance Dance Revolution以跳舞机为背景的题目
LA4643Twenty Questions有趣的问题;比较基础的动态规划
(extra)UVa10163Storage Keepers 
(extra)UVa10453Make Palindrome 

 

中级习题 (Exercises:Intermediate)

 

LA4945Free Goodies也可以贪心,时间效率更高
LA4327Parade模型不难想,但需要优化
LA4015Cave树的动态规划
LA4490Help Bubu
UVa11600Masud Rana注意状态表示
LA4987Evacuation Plan
LA4613Mountain Road
LA4614Moving to Nuremberg
LA4050Hanoi Towers
LA3305Tour经典问题
LA3412Pesky Heroes树的动态规划(题目不太好理解)
LA3679Pitcher Rotation需要一点优化(精简状态)
LA3605Roommate
LA3608Period
LA3610Log Jumping可以转化为经典问题
LA2221Frontier涉及到几何(见第四章)的动态规划
LA3132Minimax Triangulation
LA3710Interconnect注意状态表示
LA5088Alice and Bob's Trip树上的动态规划
LA3782Bigger is Better有多种方法。可以不用高精度
(extra)UVa10003Cutting Sticks经典的动态规划题目。可以用四边形不等式优化
(extra)UVa10239The Book-shelver's Problem 
(extra)UVa10271Chopsticks 
(extra)UVa10304Optimal Binary Search Tree 
(extra)UVa10599Robots(II) 
(extra)UVa10604Chemical Reaction 
(extra)UVa10618Tango Tango Insurrection 
(extra)UVa10641Barisal Stadium 
(extra)UVa10671Grid Speed 
(extra)UVa10688The Poor Giant 
(extra)UVa11263Nested Rectangles 
(extra)UVa11400Lighting System Design 
(extra)UVa11578Situp Benches 
(extra)UVa11691Allergy Test 
(extra)UVa11766Racing Car Computer 
(extra)UVa12002Happy Birthday 

 

提高习题(Exercises: Advanced)

 

LA4394String Painter序列的动态规划,有一定难度
LA4593Exclusive Access 2
LA4048Fund Management注意状态表示
LA4625Garlands
LA3683A Scheduling Problem树的动态规划
LA3637The Bookcase不太容易想到,且需要优化
LA5717Peach Blossom Spring一类经典题目(最早出现在NWERC2006,但本题数据更强)
LA3623The Best Name for Your Baby有难度的动态规划;注意计算顺序
LA4002The Ultimate Password有难度的动态规划;注意计算顺序
LA2178The Minimum Number of Rooks有难度的动态规划
LA2923Bundling
LA2930Minimizing Maximizer01 原则;数据结构优化动态规划
LA3181Fixing the Great Wall
LA4290Easy Climb需要优化
UVa10559Blocks重点是设计状态及其转移
LA4031Integer Transmission需要认真思考。可以做到O(n^2)时间。
UVa11521Compressor需要认真思考。很容易写错。
(extra)UVa10949Kids in a Grid 
(extra)UVa11193Infinix 
(extra)UVa11194Stone Grid 
(extra)UVa11810Gentle ping, to the old King 

转载于:https://www.cnblogs.com/jian1573/archive/2013/01/12/2857563.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值