摘要:
Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 to 3999. 相比Interger to Roman,本题明显要简单一些,按照规则直接翻译就好。 阅读全文
摘要:
Given an integer, convert it to a roman numeral. Input is guaranteed to be within the range from 1 to 3999. AC方法: class Solution(object): def intToRom 阅读全文
摘要:
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpo 阅读全文