字符串
文章平均质量分 72
HelloWorld10086
追随大神的脚步
展开
-
UVA 10361-Automatic Poetry
C - Automatic PoetryTime Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %lluSubmit Status Practice UVA 10361 DescriptionProblem I Automatic Poetry Input: standar原创 2014-07-21 17:14:59 · 788 阅读 · 0 评论 -
Uva 537 Artificial Intelligence?(Java正则表达式)
Artificial Intelligence? Physics teachers in high school often think that problems given as text are more demanding than pure computations. After all, the pupils have to read and understan原创 2014-07-23 09:34:50 · 796 阅读 · 0 评论 -
UVA 644 Immediate Decodability
Immediate Decodability An encoding of a set of symbols is said to be immediately decodable if no code for one symbol is the prefix of a code for another symbol. We will assume for this p原创 2014-07-29 23:00:25 · 944 阅读 · 0 评论 -
hdu 4054 Hexadecimal View(字符串)
题意 : 输出分三列。 第一列 : 0000: 表示当前语句的第1行 0010:表示当前语句的第二行。 以为规定一行只能输出16个字节, 所以代码中的一行可能要多行输出。 比如 该行代码一行有110字节 110 = 6 * 16 + 14就要输出 06e0: 第二列: 一个字节8位, 一个16进制的数 4位, 所以每两个 16进制数就代表一个字符。 不满16个字节,要输原创 2015-05-18 19:13:30 · 609 阅读 · 0 评论 -
UVA 10878 Decode the tape
C - Decode the tapeTime Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %lluDescription "Machines take me by surprise with great frequency."Alan TuringYour boss原创 2014-07-15 10:08:07 · 670 阅读 · 0 评论 -
Uva 401 Palindromes
A - PalindromesTime Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %lluDescriptionA regular palindrome is a string of numbers or letters that is the same forward as bac原创 2014-07-21 17:11:23 · 672 阅读 · 0 评论 -
POJ - 1539 Evaluating Simple C Expressions(简单的C表达式)
Evaluating Simple C ExpressionsTime Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64u[Submit] [Go Back] [Status] DescriptionThe task in this prob原创 2014-07-28 10:01:06 · 810 阅读 · 0 评论 -
Uva 10815 Andy's First Dictionary (字典序)
Andy's First DictionaryTime Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %lluSubmitStatusPracticeUVA 10815DescriptionProblem B: Andy's First DictionaryTim原创 2014-07-24 18:40:56 · 815 阅读 · 0 评论 -
Uva 10010-Where's Waldorf?
Where's Waldorf? Given a m by n grid of letters, ( ), and a list of words, find the location in the grid at which the word can be found. A word matches a straight, uninterrupted line of原创 2014-07-21 17:19:57 · 701 阅读 · 0 评论 -
Uva 409 Excuses, Excuses!
Excuses, Excuses! Judge Ito is having a problem with people subpoenaed for jury duty giving rather lame excuses in order to avoid serving. In order to reduce the amount of time required li原创 2014-07-23 10:59:21 · 622 阅读 · 0 评论 -
UVa 10115 - Automatic Editing
F - Automatic EditingTime Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %lluSubmitStatusPracticeUVA 10115DescriptionProblem E: Automatic Editing原创 2014-07-15 14:14:20 · 714 阅读 · 0 评论 -
hihocoder 1228 Mission Impossible 6(模拟文本编辑器)
题意:题目定义了几种操作: L:光标左移,假如已经在最左边则不动 R:光标右移动,假如已经在右边则不动 S:切换模式,先是插入模式,后是覆盖模式 D:删除右边, 或者删除位置C-D B:删除左边 C:复制位置C-C。且两个CC之间不能够存在除L,R以外的字符 V:粘贴,是覆盖模式那么把当前剪切板的内容,从当前光标的位置开始进行覆盖原创 2015-09-21 19:00:37 · 1045 阅读 · 2 评论