原创 [貪心]uva311 Packets
Packets A factory produces products packed in square packets of the same height h and of the sizes , , , , ,
原创 [動態規劃]UVA 507 - Jill Rides Again
Jill Rides Again Jill likes to ride her bicycle, but since the pretty city of Greenhills where she lives has gro
原创 [動態規劃]UVA108 - Maximum Sum
Maximum Sum Background A problem that is simple to solve in one dimension is often much more difficult to solve
原创 [貪心&&二分]uva714 Copying Books
Copying Books Before the invention of book-printing, it was very hard to make a copy of a book. All the content
原创 [貪心]UVA11100 - The Trip, 2007
Problem A: The Trip, 2007 A number of students are members of a club that travels annually to exotic locations. Their
原创 [模擬]uva993 Product of digits
Product of digits For a given non-negative integer number N , find the minimal natural Q such that the product
原创 [動態規劃]UVA624 - CD
CD You have a long drive by car ahead. You have a tape recorder, but unfortunately your best music is on CDs. Yo
原创 [動態規劃]UVA10405 - Longest Common Subsequence
Problem C: Longest Common Subsequence Sequence 1: Sequence 2: Given two sequences of
原创 [動態規劃]UVA10131 - Is Bigger Smarter?
Question 1: Is Bigger Smarter? The Problem Some people think that the bigger an elephant is, the smarter it is. To di
原创 [暴力]uva10132 File Fragmentation
Question 2: File Fragmentation The Problem Your friend, a biochemistry major, tripped while carrying a tray of comput
原创 [貪心&&排序]UVA10670 Work Reduction
Problem C: Work Reduction Paperwork is beginning to pile up on your desk, and tensions at the workplace are starting
原创 [貪心]UVA10714 Ants
Problem B: Ants An army of ants walk on a horizontal pole of length l cm, each with a constant speed of 1 cm/s. When
原创 [DFS&&剪枝]uva10400 Game Show Math
Problem H Game Show Math Input: standard inputOutput: standard outputTime Limit: 15 seconds A game show in Britain has
原创 [貪心]UVA10382 Watering Grass
Problem E Watering Grass Input: standard inputOutput: standard outputTime Limit: 3 seconds n sprinklers are installed
原创 [貪心]UVA11054 Wine trading in Gergovia
2006/2007 ACM International Collegiate Programming Contest University of Ulm Local Contest Wine trading in Gergovia