摘要: class Solution(object): def romanToInt(self, s): """ :type s: str :rtype: int """ numerals = { "M": 1000, "D": 5... 阅读全文
posted @ 2015-11-18 22:49 hao.ma 阅读(130) 评论(0) 推荐(0)
摘要: class Solution(object): def intToRoman(self, num): """ :type num: int :rtype: str """ if num > 3999 or num = val... 阅读全文
posted @ 2015-11-18 22:35 hao.ma 阅读(136) 评论(0) 推荐(0)
摘要: # add / location /app/ { proxy_pass http://$backend/;}#location /app/ { proxy_pass http://$backend; }1 加斜杠:请求 http://domain/app/demo.ph... 阅读全文
posted @ 2015-11-18 12:44 hao.ma 阅读(714) 评论(0) 推荐(0)