一、pip问题:Traceback (most recent call last): File "/usr/bin/pip", line 9, in 解决方法:将 /usr/bin/pip 文件中:from pip import mainif __name__ == '__main__': sys. ...
分类:
系统相关 时间:
2019-05-02 10:10:14
阅读次数:
159
题目链接:https://vjudge.net/problem/POJ-2886 题目大意: N个人围成一圈第一个人跳出圈后会告诉你下一个谁跳出来跳出来的人(如果他手上拿的数为正数,从他左边数x个,反之,从他右边数x个),如果一个人是第 i 个跳出来的,他所得糖数为 i 的所有因子个数,求最先出序列 ...
分类:
其他好文 时间:
2019-05-02 10:04:50
阅读次数:
138
In the game of DotA, Pudge’s meat hook is actually the most horrible thing for most of the heroes. The hook is made up of several consecutive metallic ...
分类:
其他好文 时间:
2019-05-02 09:54:43
阅读次数:
135
建立工作空间:名字可以任意取,但里面必须有src文件夹 编译:用source把编译完的workspace刷新到环境变量里,这样系统才知道ros可执行文件在哪,才能运行。否则roslaunch找不到工作空间。 package is the most basic element for catkin m ...
分类:
其他好文 时间:
2019-05-02 09:35:43
阅读次数:
117
线段树: 你可以理解成:线段组成的树,很多人问我,线段树到底有何用处,其实这个问题,你可以自己去刷题,然后总结出检验。 线段的具体理解,我看到一篇很好的博客,我就不展开了。博客地址:https://blog.csdn.net/iwts_24/article/details/81484561 基础题目 ...
分类:
编程语言 时间:
2019-05-02 00:22:10
阅读次数:
144
80. Given a sorted array nums, remove the duplicates in-place such that duplicates appeared at most twice and return the new length. Do not allocate e ...
分类:
其他好文 时间:
2019-05-01 18:34:11
阅读次数:
149
安全技术是武功招式,安全管理是内功心法,为两者结合,方能独步“武林”!
分类:
其他好文 时间:
2019-05-01 13:39:41
阅读次数:
145
原文 https://stuff.seans.com/2008/08/21/simple-water-animation-in-wpf/ 很多年前(80年代中期),我在一家拥有Silicon Graphics工作站的公司工作。在旨在展示SGI机器高端图形的少数演示中,有一个模拟了一个小线框网格中的波 ...