摘要:
vs2017: 下载 https://pan.baidu.com/s/1qWxAgeK 里面的 “ege19.01_vs2017 (推荐, 修正win10 1809 上无法正常运行的问题).zip” 按如下操作: (更高版本vs也是同理, 附 网友教程) 默认安装的情况下, 把 include目录 阅读全文
posted @ 2019-03-10 23:34
anobscureretreat
阅读(358)
评论(0)
推荐(0)
摘要:
#include "stdafx.h" #include #include #include using namespace std; int main() { cout << "boost 版本:" << BOOST_VERSION << endl; cout << "boost lib 版本:" << BOOST_LIB_VERSION << endl; ... 阅读全文
posted @ 2019-03-10 23:11
anobscureretreat
阅读(512)
评论(0)
推荐(0)
摘要:
class Solution(object): def romanToInt(self, s): """ :type s: str :rtype: int """ lista={'I':1,'V':5,'X':10,'L':50,'C':100,'D':500,'M':1000} Valu... 阅读全文
posted @ 2019-03-10 19:50
anobscureretreat
阅读(169)
评论(0)
推荐(0)
摘要:
class Solution(object): def intToRoman(self, num): """ :type num: int :rtype: str """ if num == 0: return "" if num >= 1000: ... 阅读全文
posted @ 2019-03-10 19:40
anobscureretreat
阅读(243)
评论(0)
推荐(0)
摘要:
def solution(num): if(0<num<=5): if(num<4): return (num)*"I" else: return (5-num)*"I"+"V" elif(5<num<=10): return "V"+(num-5)*"I" elif(10... 阅读全文
posted @ 2019-03-10 19:36
anobscureretreat
阅读(134)
评论(0)
推荐(0)
摘要:
class Solution(object): def isPalindrome(self, x): """ :type x: int :rtype: bool """ s=str(x) if(s==s[::-1]): return True els... 阅读全文
posted @ 2019-03-10 18:07
anobscureretreat
阅读(103)
评论(0)
推荐(0)

浙公网安备 33010602011771号