整整三天总算是敲掉了beginner的25题, 在大神的启发下,在此整理并分享我的思路和代码。 本文仅供参考,更多启示请点这里 UVA 11584 Partitioning by Palindromes LA 4256 Salesmen UVA 10534 Wavio Sequence UVA 11552 Fewest Flops UVA 11404 Palindromic Subsequence LA 4731 Cellular Network UVA 11795 Mega Man's Missions LA 4727 Jump LA 3530 Martian Mining UVA 10564 Paths through the Hourglass UVA 10817 Headmaster's Headache LA 2038 Strategic game LA 3363 String Compression LA 2031 Dance Dance Revolution UVA 1252 Twenty Questions UVA 10163 Storage Keepers UVA 10453 Make Palindrome UVA 10254 The Priest Mathematician UVA 437 The Tower of Babylon UVA 442 Matrix Chain Multiplication UVA 473 Raucous Rockers UVA 590 Always on the run UVA 607 Scheduling Lectures UVA 607 Fast Food UVA 672 Gangsters