抱歉
Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)
Total Submission(s) : 21 Accepted Submission(s) : 13
Font: Times New Roman | Verdana |
Georgia
Font Size: ...
分类:
其他好文 时间:
2015-05-26 14:26:06
阅读次数:
131
题目来源 2012CCC加拿大高中信息学奥赛(这个系列基本都是基础练习题,想打好最基础的基础的同学们可以试一试)
题目描述 Description
This question involves calculating the value of aromatic numbers which are a combination of Arabic digits and Roman ...
分类:
其他好文 时间:
2015-05-23 17:02:28
阅读次数:
150
源代码:roman_mumeral_map = (('M',1000), ('CM',900), ('D',500), ('CD',400), ('C',100), ('XC',90), ('L',50), ('XL',40), ('X',10), ('IX',9), ('V',5), ('IV',...
分类:
编程语言 时间:
2015-05-20 17:47:33
阅读次数:
138
Description
Input
Output
Sample Input
IVX
XIXIX
0
Sample Output
Case 1: 4 6
Case 2: 8 10 28 30 32
HINT
Source
题意:给出一个罗马数字,要你输出这罗马数字所有可能组成的数
罗马数字组成规则:
1...
分类:
其他好文 时间:
2015-05-18 20:53:20
阅读次数:
143
网址:https://leetcode.com/problems/integer-to-roman/
题意:
模拟题...自己去查罗马数字怎么转化的就ok.
代码:
https://github.com/LiLane/leetcode/blob/master/java/012-IntegertoRoman-201505181637.java
https://github.com/Li...
分类:
其他好文 时间:
2015-05-18 19:00:05
阅读次数:
123
罗马数字转为阿拉伯数字 Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 to 3999.
分类:
其他好文 时间:
2015-05-14 20:23:51
阅读次数:
143
Roman to Integer : https://leetcode.com/problems/roman-to-integer/
degree: easyGiven a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999.
罗马数字:http://zh...
分类:
其他好文 时间:
2015-05-14 12:16:46
阅读次数:
132
问题
解析
附录罗马数字拼写规则
问题Integer to Roman : https://leetcode.com/problems/integer-to-roman/
degree : MediumGiven an integer, convert it to a roman numeral.
Input is guaranteed to be within the range from 1...
分类:
其他好文 时间:
2015-05-14 12:03:37
阅读次数:
118
Given an integer, convert it to a roman numeral.
Input is guaranteed to be within the range from 1 to 3999.
class Solution {
public:
string intToRoman(int num) {
map mp = {{1000,"M"},{9...
分类:
其他好文 时间:
2015-05-11 21:55:30
阅读次数:
130