摘要:
Given an integer, convert it to a roman numeral.Input is guaranteed to be within the range from 1 to 3999.将不同罗马字符和对应的数字做成字典,然后将依次转化。时间:55ms代码如下:class ... 阅读全文
摘要:
Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpoints of ... 阅读全文