摘要: Genos needs your help. He was asked to solve the following programming problem by Saitama: The length of some string s is denoted |s|. The Hamming dis 阅读全文
posted @ 2017-07-06 16:57 诚信肥宅 阅读(254) 评论(0) 推荐(0) 编辑
摘要: Solve the equation:p∗e−x + q∗sin(x) + r∗cos(x) + s∗tan(x) + t∗x2 + u = 0where 0 ≤ x ≤ 1.InputInput consists of multiple test cases and terminated by a 阅读全文
posted @ 2017-07-06 14:27 诚信肥宅 阅读(170) 评论(0) 推荐(0) 编辑
摘要: A palindrome is a word, number, or phrase that reads the same forwards as backwards. For example, the name “anna” is a palindrome. Numbers can also be 阅读全文
posted @ 2017-07-06 14:10 诚信肥宅 阅读(164) 评论(0) 推荐(0) 编辑
摘要: Watchmen are in a danger and Doctor Manhattan together with his friend Daniel Dreiberg should warn them as soon as possible. There are n watchmen on a 阅读全文
posted @ 2017-07-06 13:36 诚信肥宅 阅读(194) 评论(0) 推荐(0) 编辑