摘要:
DP divide and approach分而治之 题号:53. Maximum Subarray Apparently, this is a optimization problem, which can be usually solved by DP. So when it comes to 阅读全文
摘要:
27. Remove Element 当 return错误数 的时候,有可能会产生index out of range 阅读全文
摘要:
怎么向github account增加SSH: https://help.github.com/articles/checking-for-existing-ssh-keys/ 查看已经存在的ssh https://help.github.com/articles/generating-a-new- 阅读全文
摘要:
根据官网上的操作最后会报错,no module named tensorflow 根据以下的代码操作的话就可以成功运行官网例子,注意python版本对应url就好 阅读全文
摘要:
想要在test_bignit.cpp里面使用bigint.cpp的函数 一直报错:ld: 1 duplicate symbol for architecture x86_64 网上一直说import了重复的东西或者有多个main,好吧,查了很久,都没问题。。。 后来我把test_bigint.cpp 阅读全文
摘要:
JAVA: 3. Longest Substring Without Repeating Characters 以前一直想找到一种数组,不用事先规定大小,可以直接插入,现在发现了,可以用hashset,但是无法知道位置信息 可以用这个 int[26] for Letters 'a' - 'z' or 阅读全文
摘要:
现在每次运行python都会出现PYTHONPATH错误,但是最后还是能运行。echo $PYTHONPATH 出现了空白,不知道为什么最后终端输入python还是能启动。 以下文章很好的解释了一些python的环境,但是没有解决为什么PYTHONPATH空白也能启动。等以后遇到错误再来改改。 ht 阅读全文
摘要:
首先要做好遇鬼杀鬼遇佛杀佛的准备。。。。。此篇非教程,而是自己的错误记录。如果想要正确安装,请撤离此处。。。 我的配置是Mac + OpenCV3.3.0_3 + python2.7(我的电脑上已经装有python2.7和python3.6,用的anaconda设置的虚拟环境。) 网上都说要用bre 阅读全文
摘要:
SHELL 终端运行 fourargs.sh 出现“permission denied”,原因是没有权限,所以输入以下代码可以解决 https://stackoverflow.com/questions/27213580/difference-between-char-argv-and-char-a 阅读全文
摘要:
挺简单的,难的部分都已经写好了,放个测试图吧。 阅读全文