UVA__
ACMer_Shadow
Just Going!! 2016年6月6日开始学习Java!学有余力,刷ACM题!
展开
-
UVA 340 Master-Mind Hints
Master-Mind HintsTime Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %lluSubmit StatusDescriptionMasterMind is a game for two players. One of them, D原创 2015-08-24 17:34:45 · 513 阅读 · 0 评论 -
UVA 133 The Dole Queue
UVA 133 The Dole QueueThe Dole Queue In a serious attempt to downsize (reduce) the dole queue, The New National Green Labour Rhinoceros Party has decided on the following strategy. Every day all dole a原创 2016-07-26 18:37:19 · 754 阅读 · 0 评论 -
UVA 489 Hangman Judge【刽子手】
hangman JudgeIn ``Hangman Judge,'' you are to write a program that judges a series of Hangman games. For each game, the answer to the puzzle is given as well as the guesses. Rules are the same原创 2016-07-26 15:43:59 · 632 阅读 · 0 评论 -
UVA 541 Error Correction【水题】
Error Correction Time Limit : 2000/1000ms (Java/Other) Memory Limit : 131072/65536K (Java/Other)Total Submission(s) : 1 Accepted Submission(s) : 1Problem DescriptionA boolean matrix has th原创 2016-05-09 15:49:29 · 1091 阅读 · 0 评论 -
UVA 1368 DNA Consensus String【ACM/ICPC Seoul 2006】
DNA Consensus StringTime Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %llu UVA 1368Appoint description: DescriptionDownload as PDF\epsfbox{p3602.eps} Figure 1.DNA (De原创 2016-05-16 13:45:05 · 664 阅读 · 0 评论 -
UVA 1584 Circular Sequence【字典序】
Circular Sequence StatusDescriptionDownload as PDFSome DNA sequences exist in circular forms as in the following figure, which shows a circular sequence ``CGAGTCAGCT", that is, the last sy原创 2016-05-15 21:22:09 · 9986 阅读 · 0 评论 -
UVA 227 Puzzle 【ACM/ICPC World Final 1993】
printf("%c",'0');%d表示0是0,表示‘0’是48 %c表示0是a,表示‘0’是0#include#include#includeusing namespace std;const char *print="This puzzle has no final configuration.";int main (void){ char map[6][6],原创 2015-08-30 21:29:10 · 792 阅读 · 0 评论 -
UVA 1587 Box 【ACM/ICPC NEERC 2004】
注意:长方体有三种不同的边,我们记为abc,并且记a>b>c,则长方体的六个面必定是ababacacbcbc(按照边的长度排序),符合这种形式的就是一个长方体。根据题目叙述,重点是怎样把输入的数据转化为这种标准形式,然后进行判断。首先把每个面的两条边大小弄清楚,如ba转换为ab,即长>宽;然后对六个面进行排序,按照长从大到小排序,长相同,按宽排序原创 2016-05-15 16:48:46 · 1308 阅读 · 0 评论 -
UVA 401 Palindromes
PalindromesTime Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %lluSubmit StatusDescriptionA regular palindrome is a string of numbers or letters tha原创 2015-08-21 14:14:41 · 782 阅读 · 0 评论 -
UVA 272 TEX Quotes
TEX QuotesTime Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %lluSubmit StatusDescriptionTeX is a typesetting language developed by Donald Knuth. It原创 2015-08-21 14:20:21 · 456 阅读 · 0 评论 -
UVA 1583 Digit Generator
Digit GeneratorTime Limit:3000MS Memory Limit:Unknown 64bit IO Format: %lld & %lluSubmit StatusDescriptionFor a positive integer N , the digit-sum of N is def原创 2015-08-21 17:38:29 · 499 阅读 · 0 评论 -
UVA 10082 WERTYU
WERTYUTime Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %llu #includeint main (void){ char s[]="`1234567890-=QWER原创 2015-08-21 14:25:44 · 465 阅读 · 0 评论 -
UVA 10340 All in All
注意:1:题目没给具体的数组有多大 只开到1000 RE到死啊2:Yes输出成YES WA到死啊....#include#includeusing namespace std;int main (void){ char a[100010],b[100010]; int lena,lenb; while(scanf("%s%s",a,b)!=EOF)原创 2015-08-31 00:00:53 · 3360 阅读 · 0 评论 -
UVA 455 Periodic Strings
Periodic StringsTime Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %lluSubmit StatusDescription Periodic Strings A character s原创 2015-08-27 14:25:25 · 842 阅读 · 0 评论 -
UVA 1586 Molar mass
Molar massTime Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %lluSubmit StatusDescriptionAn organic compound is any member of a large class of c原创 2015-08-25 21:23:12 · 621 阅读 · 0 评论 -
UVA 1225 Digit Counting 【ACM/ICPC Danang 2007】
Digit CountingTime Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %lluSubmit StatusDescriptionTrung is bored with his mathematics homeworks. He t原创 2015-08-25 22:14:44 · 8622 阅读 · 0 评论 -
UVA 1339 Ancient Cipher古老的密码【NEERC 2004】【刘汝佳紫书4-1】
Ancient Roman empire had a strong government system with various departments, including a secret service department. Important documents were sent between provinces and the capital in encrypted form原创 2016-07-26 19:42:09 · 8809 阅读 · 0 评论