UVa
萧逸思
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
UVa 202 Repeating Decimals
Repeating Decimals原创 2015-02-26 17:16:35 · 437 阅读 · 0 评论 -
UVa 1509 Leet 枚举
题意: 有两条字符串alph和leet,alph由纯字母组成,长度小于等于15,能够映射到leet,每个字母能对应k个leet字符,对应后不再改变。1≤k≤3 如果alph中所有字符映射成功,输出1;否则输出0。 分析: 数据量小,可以枚举解决。alph是纯字母,所以可以放在大小为26的数组里,每个元素存储k个对应字符。 代码: #include #include #include原创 2016-05-30 14:06:49 · 363 阅读 · 0 评论 -
UVa536 Tree Recovery
UVa536 Tree Recovery原创 2015-04-08 20:47:57 · 441 阅读 · 0 评论 -
UVa Parentheses Balance
Parentheses Balance Time Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %llu原创 2015-04-08 20:43:08 · 370 阅读 · 0 评论 -
UVa439 Knight Moves
Knight Moves Time Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %llu Description A friend of you is doing research on the Traveling Knight Problem (T原创 2015-04-08 20:52:40 · 400 阅读 · 0 评论 -
UVa 201 Squares
Squares原创 2015-03-11 16:49:36 · 437 阅读 · 0 评论 -
UVa 12504 Updating a Dictioinary
题目:UVa 12504 Updating a Dictionary 分析: 键值对可用map来处理,即map[ key ] = value。 因为有三种情况要讨论,股分别用set保存对应变化的键值,顺便排序。 读入需要注意,通过冒号来区分key和value,不同键值对用 ',' 和 '}‘区分,而 '}' 代表此行的读入停止。 代码: #include #include #inc原创 2015-03-21 19:55:14 · 499 阅读 · 0 评论 -
UVa 1595 Symmetry
Symmetry Time Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %llu Submit Status Description The figure shown on the left is left-right symmetric as原创 2015-03-15 17:44:52 · 419 阅读 · 0 评论 -
UVa 1594 Ducci Sequence
Ducci Sequence Time Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %llu Submit Status Description A Ducci sequence is a sequence of n-tuples of int原创 2015-03-15 13:34:11 · 373 阅读 · 0 评论 -
UVa 1593 Alignment of Code
Alignment of Code Time Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %llu Submit Status Description You are working in a team that writes Incredib原创 2015-03-15 16:24:56 · 376 阅读 · 0 评论 -
UVa 10935 Throwing cards away 1
Throwing cards away I Time Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %llu Submit Status Description Problem B: Throwing cards away I Given is原创 2015-03-15 14:57:56 · 416 阅读 · 0 评论 -
UVa 10763 Foreign Exchange
Problem E Foreign Exchange Input: standard input Output: standard output Time Limit: 1 second Your non-profit organization (iCORE - international Confederation of Revolver Enthusiasts) coordi原创 2015-03-15 15:25:36 · 332 阅读 · 0 评论 -
UVa 1587 Box
Box原创 2015-02-27 19:24:28 · 405 阅读 · 0 评论 -
UVa 10340 All in all
All in all; subsequence原创 2015-02-27 18:34:14 · 476 阅读 · 0 评论 -
UVa 227 Puzzle
Puzzle原创 2015-02-27 13:02:53 · 490 阅读 · 0 评论 -
UVa 232 Crossword Answers
232 - Crossword Answers Time limit: 3.000 seconds A crossword puzzle consists of a rectangular grid of black and white squares and two lists of definitions (or descriptions). One list of def原创 2015-02-24 12:28:49 · 380 阅读 · 0 评论
分享