摘要:
Score UVA - 1585 There is an objective test result such as “OOXXOXXOOO”. An ‘O’ means a correct answer of a problem and an ‘X’ means a wrong answer. T 阅读全文
摘要:
Circular Sequence UVA - 1584 Some DNA sequences exist in circular forms as in the following figure, which shows a circular sequence “CGAGTCAGCT”, that 阅读全文
摘要:
WERTYU UVA - 10082 A common typing error is to place the hands on the keyboard one row to the right of the correct position. So ‘Q’ is typed as ‘W’ an 阅读全文
摘要:
Digit Generator UVA - 1583 思路: 函数映射:a[原来的数]=最小生成元 注意点: 这里一定要注意maxn的范围,100005会WA。但是不知道为什么,题目给的原来的数的范围是1<=N<=100,000,而最小生成元一定比原来的数要小<=100,000,那么把最小生成元的范 阅读全文
摘要:
Master-Mind Hints UVA - 340 MasterMindisagamefortwoplayers. Oneofthem,Designer,selectsasecretcode. Theother,Breaker, tries to break it. A code is no m 阅读全文