摘要: Molar mass UVA - 1586 An organic compound is any member of a large class of chemical compounds whose molecules contain carbon. The molar mass of an or 阅读全文
posted @ 2019-05-21 23:25 zuiaimiusi 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2019-05-21 14:12 zuiaimiusi 阅读(320) 评论(0) 推荐(0) 编辑
摘要: Circular Sequence UVA - 1584 Some DNA sequences exist in circular forms as in the following figure, which shows a circular sequence “CGAGTCAGCT”, that 阅读全文
posted @ 2019-05-21 13:53 zuiaimiusi 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2019-05-21 12:25 zuiaimiusi 阅读(170) 评论(0) 推荐(0) 编辑
摘要: Digit Generator UVA - 1583 思路: 函数映射:a[原来的数]=最小生成元 注意点: 这里一定要注意maxn的范围,100005会WA。但是不知道为什么,题目给的原来的数的范围是1<=N<=100,000,而最小生成元一定比原来的数要小<=100,000,那么把最小生成元的范 阅读全文
posted @ 2019-05-21 11:12 zuiaimiusi 阅读(204) 评论(0) 推荐(0) 编辑
摘要: Master-Mind Hints UVA - 340 MasterMindisagamefortwoplayers. Oneofthem,Designer,selectsasecretcode. Theother,Breaker, tries to break it. A code is no m 阅读全文
posted @ 2019-05-21 09:58 zuiaimiusi 阅读(244) 评论(0) 推荐(0) 编辑