码迷,mamicode.com
首页 >  
搜索关键字:roman    ( 1299个结果
Leetcode--Roman to Integer
Problem Description: Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 to 3999. 分析:题目的意思是将罗马数字转化成整数,首先是在网上找到关于罗马数字表示法的规则如下:  1、计数方法:① 罗马数字就...
分类:其他好文   时间:2014-08-05 22:45:10    阅读次数:283
Roman numerals
Roman numerals罗马数字的题目, 注意几个关键的数字即可: (100, 400, 500, 900) -> ('C', 'CD', 'D', 'CM'); (10, 40, 50, 90)->('X', 'XL', 'L', 'XC') 1 def checkio(data): 2 .....
分类:其他好文   时间:2014-08-05 11:06:19    阅读次数:232
Roman to Integer
Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999. 1 public class Solution { 2 public int ...
分类:其他好文   时间:2014-08-05 11:02:09    阅读次数:242
Roman to Integer leetcode java
题目:Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999. 题解:这道题跟interger to roman一样都得先熟悉罗马数字的规则。罗...
分类:编程语言   时间:2014-08-02 10:01:33    阅读次数:231
Integer to Roman leetcode java
题目:Given an integer, convert it to a roman numeral.Input is guaranteed to be within the range from 1 to 3999.题解:这道题。。还有哪个roman to integer。。第一件事 就是先把r....
分类:编程语言   时间:2014-08-02 09:54:23    阅读次数:314
Roman to Integer
问题:罗马数字变为整数class Solution {public: int romanToInt(string s) { char c[10][10][10]={{"0","I","II","III","IV","V","VI","VII","VIII","IX"},{"0"...
分类:其他好文   时间:2014-08-01 23:01:02    阅读次数:209
Integer to Roman
问题:将数字转化为罗马数字分析:将所有的数字打表出来class Solution {public: string intToRoman(int num) { char c[10][10][10]={{"0","I","II","III","IV","V","VI","VII","...
分类:其他好文   时间:2014-08-01 10:32:21    阅读次数:215
分糖果
分糖果 Time Limit : 3000/1000ms (Java/Other)   Memory Limit : 65535/32768K (Java/Other) Total Submission(s) : 18   Accepted Submission(s) : 3 Font: Times New Roman | Verdana | Georgia Font Size: ← →...
分类:其他好文   时间:2014-07-31 13:23:36    阅读次数:199
UVa 1339 Ancient Cipher
Ancient Cipher Ancient Roman empire had a strong government system with various departments, including a secret service department. Important documents were sent between provinces and the capit...
分类:其他好文   时间:2014-07-30 17:35:14    阅读次数:227
Watch The Movie
Watch The Movie Time Limit : 3000/1000ms (Java/Other)   Memory Limit : 65535/65535K (Java/Other) Total Submission(s) : 10   Accepted Submission(s) : 4 Font: Times New Roman | Verdana | Georgia Fon...
分类:其他好文   时间:2014-07-30 14:57:54    阅读次数:264
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!