- 博客(11)
- 资源 (5)
- 收藏
- 关注
原创 LeetCode Problems 870
2018/11/25870. Advantage Shuffle问题描述Given two arrays A and B of equal size, the advantage of A with respect to B is the number of indices i for which A[i] > B[i].Return any permutation of A tha...
2018-11-23 16:10:24 180
转载 Xshell连接不上Ubuntu问题解决方案
xshell连接linux主机时,会出现错误:Could not connect to ‘127.0.0.1’ (port 22): Connection failed. 但是这时能ping通。通过查看资料,这种情况可能的原因主要有三种:一. 桥接模式可以使路由器使用DHCP的方式分配IP,如果你的电脑所处的网络拓扑中没有路由器的话也是ping不通的。如果有路由器,因为防火墙导致无法连...
2018-11-23 14:20:06 1319
转载 pip下载速度慢-解决方法
修改源方法临时使用:可以在使用pip的时候在后面加上-i参数,指定pip源,例如:pip install 软件名 -i 镜像源urlpip install tensorflow -i https://pypi.tuna.tsinghua.edu.cn/simple永久修改:linux下:修改~/.pip/pip.conf (若没有就创建一个vi ~/.pip/pip.conf), ...
2018-11-20 17:40:53 1511
原创 LeetCode Problems 903
2018/11/18903. Valid Permutations for DI Sequence问题描述:We are given S, a length n string of characters from the set {'D', 'I'}. (These letters stand for “decreasing” and “increasing”.)A valid permu...
2018-11-16 15:38:39 687
原创 LeetCode Problems #935
2018/11/11935. Knight Dialer问题描述:A chess knight can move as indicated in the chess diagram below:This time, we place our chess knight on any numbered key of a phone pad (indicated above), a...
2018-11-11 22:11:36 211
原创 Mac程序文件权限问题
在Mac命令行应用某些程序时出现权限限制,例如使用brew安装的tree时出现以下情况:appledeMacBook-Air: apple$ treebash: /usr/local/bin/tree: Permission denied解决方案:修改文件权限:appledeMacBook-Air: apple$ sudo chmod +rx /usr/local/bin/tree...
2018-11-08 16:14:22 2214
原创 Hadoop运行错误 - Output directory hdfs://master:9000/output already exists
运行hadoop出现以下问题:[its312@master bin]$ hadoop jar /usr/local/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-examples-3.1.0.jar wordcount /input /output2018-11-06 21:31:12,192 INFO client.RMProxy: Co...
2018-11-06 22:01:17 14698
原创 LeetCode Problems #881
2018年11月4日881. Boats to Save People问题描述:The i-th person has weight people[i], and each boat can carry a maximum weight of limit.Each boat carries at most 2 people at the same time, provided the su...
2018-11-04 19:08:46 176
原创 树莓派-摄像头模块
树莓派摄像头的简单实用安装摄像头首先确保树莓派的系统为较新的版本,并且开启摄像头功能。输入命令:sudo raspi-config 并勾选第5个的enable camera 功能。如下图:物理安装摄像头到树莓派上,这个感觉很容易的样子,不行的话看看这个视频教程吧:视频教你如何安装摄像头捕获一张图片:raspistillraspistill命令是树莓派提供的捕获图像的工具,输...
2018-11-01 23:22:59 905 1
PKCS #11 v2.11密码令牌接口标准(中英文)
2018-11-14
深度学习入门:基于Python的理论与实现(pdf+源码)
2018-10-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人