字符串
二分查找
这个作者很懒,什么都没留下…
展开
-
UVA - 10361
Problem I Automatic Poetry Input: standard inputOutput: standard outputTime Limit: 2 secondsMemory Limit: 32 MB “Oh God”, Lara Croft exclaims, “it’s one of these dumb riddle原创 2014-07-21 17:19:49 · 424 阅读 · 0 评论 -
UVA409 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-08 09:17:42 · 414 阅读 · 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 pro原创 2014-07-08 13:54:49 · 505 阅读 · 0 评论 -
UVA10878
根据二进制和ACSII码来破解密码原创 2014-07-23 21:26:33 · 408 阅读 · 0 评论 -
UVA10010 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-08 09:03:25 · 475 阅读 · 0 评论 -
UVA10815
把一段话里所有单词分离出来,并字典序排序。yong原创 2014-07-23 21:34:57 · 648 阅读 · 0 评论 -
UVA401 Palindromes
找回文数和镜像;#include#includeusing namespace std;int main (){ string line; string line1; string line3; int k; while(cin>>line1) { line3=line1; int n=line1.size(); int high=n-1; in原创 2014-07-21 17:15:57 · 395 阅读 · 0 评论 -
UVA10115
ProblemB: Andy's First DictionaryTimelimit: 3 secondsAndy, 8, has a dream - he wants to produce his very own dictionary. This is not an easy task for him, as the number of word原创 2014-07-21 17:31:20 · 542 阅读 · 0 评论 -
UVA537
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-21 17:21:49 · 378 阅读 · 0 评论 -
uva620
题目的意思就一个细胞 先是A.然后有两种成长方式,一种是后面加AB原创 2014-10-28 21:10:21 · 396 阅读 · 0 评论