Skip to content

Commit b0fadbd

Browse files
authored
Update solution 013 [python2] - 80ms
1 parent f2ac493 commit b0fadbd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

solution/013.Roman to Integer/Solution2.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# 80ms with python2
12
class Solution(object):
23
def romanToInt(self, s):
34
dict = {'M':1000, 'D':500, 'C':100, 'L':50, 'X':10, 'V':5, 'I':1} #对应关系存在一个字典里

0 commit comments

Comments
 (0)