摘要:
环境准备:Ubuntu16,matlab2017(目前只支持gcc4.9) You could set priority to use [g++/gcc-4.9] before [g++/gcc-5] . Follow these steps: --> Make sure gcc-4.9 and g 阅读全文
摘要:
class Solution { public: int myAtoi(string str) { if (str.empty()) return 0; int sign = 1, base = 0, i = 0, n = str.size(); while (i = '0' && str[i] INT_MAX / 10 || (base... 阅读全文
摘要:
class Solution { public: int reverse(int x) { long long res = 0; while (x != 0) { res = 10 * res + x % 10; x /= 10; } return (res > INT_MAX... 阅读全文
摘要:
class Solution { public: string longestPalindrome(string s) { int len=s.size(); int left,right; int begin=0,maxlen=0; if(len=0&&rightmaxlen) { ... 阅读全文
摘要:
ImportError: libcudart.so.8.0: cannot open shared object file: No such file or directory #5343:针对这个问题,首先先分析你电脑是否装了cuda8.0,若不是,这可能是你在默认tensorflow配置时没有选 阅读全文