摘要: Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 to 3999. 字符串的是从左边开始的 res,p 是元组 阅读全文
posted @ 2017-02-28 21:48 Ci_pea 阅读(119) 评论(0) 推荐(0) 编辑
摘要: Determine whether an integer is a palindrome(回文). Do this without extra space. 阅读全文
posted @ 2017-02-28 19:40 Ci_pea 阅读(131) 评论(0) 推荐(0) 编辑