Pkingqaq
Results
2
comments of
Pkingqaq
-prices[i] 我理解,第一天你如果持有,那么你就是第一天买入了股票,此时你的利润就是 - prices[i]
> @chxuan 最后解决了。原因应该是我在anaconda的虚拟环境下编译的,所以导致了-11这个错误。当退出虚拟环境用系统默认的Python解释器编译时,再次进入vim会出现类似[https://github.com/chxuan/vimplus](vimplus)Q&A中的第二个提示`(The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). YCM core library compiled for Python 3 but loaded in Python 2. Set the 'g:ycm_server_python_interpreter' option to a Python 3...