上一页 1 2 3 4 5 6 ··· 11 下一页

2018年3月27日

linux命令系列 sudo apt-get update和upgrade的区别

摘要: 入门linux的同志,刚开始最迫切想知道的,大概一个是中文输入法,另一个就是怎么安装软件。本文主要讲一下LINUX安装软件方面的特点。 在windows下安装软件,我们只需要有EXE文件,然后双击,下一步直接OK就可以了。但在LINUX下,不是这样的。每个LINUX的发行版,比如UBUNTU,都会维 阅读全文

posted @ 2018-03-27 00:14 flyingwaters 阅读(77494) 评论(2) 推荐(9) 编辑

2018年3月12日

kaggle-titanic LR

摘要: https://github.com/flyingwaters/kaggle/blob/master/titanic_exercise_example.ipynb 阅读全文

posted @ 2018-03-12 21:35 flyingwaters 阅读(147) 评论(0) 推荐(0) 编辑

2018年3月6日

jupyter notebook 显示中文的问题

摘要: 3.matplotlib显示中文问题 阅读全文

posted @ 2018-03-06 10:58 flyingwaters 阅读(1136) 评论(0) 推荐(0) 编辑

2018年2月26日

一道简单的题我犯的傻逼错误

摘要: #include<iostream>#include<string>#include<algorithm>using namespace std;int main(){ int k; string h=""; cin>>k; while(k!=0){ if(k%2==0){k=(k-2)/2; h. 阅读全文

posted @ 2018-02-26 15:45 flyingwaters 阅读(127) 评论(0) 推荐(0) 编辑

2017年12月23日

python exception的继承关系

摘要: https://docs.python.org/3/library/exceptions.html#exception-hierarchy 阅读全文

posted @ 2017-12-23 14:57 flyingwaters 阅读(167) 评论(0) 推荐(0) 编辑

2017年12月11日

最大子段和问题

摘要: class Solution { public: int maxSubArray(int A[], int n) { int ans=A[0],i,j,sum=0; for(i=0;i<n;i++){ sum+=A[i]; ans=max(sum,ans); sum=max(sum,0); } re 阅读全文

posted @ 2017-12-11 22:10 flyingwaters 阅读(102) 评论(0) 推荐(0) 编辑

2017年11月28日

moore voting algorithm for majority element in vector

摘要: class Solution {public: int majorityElement(vector<int> &num) { int majorityIndex = 0; for (int count = 1, i = 1; i < num.size(); i++) { //遍历一遍vector< 阅读全文

posted @ 2017-11-28 14:39 flyingwaters 阅读(100) 评论(0) 推荐(0) 编辑

2017年11月24日

linux命令 wget

摘要: Linux系统中的wget是一个下载文件的工具,它用在命令行下。对于Linux用户是必不可少的工具,我们经常要下载一些软件或从远程服务器恢复备份到本地服务器。wget支持HTTP,HTTPS和FTP协议,可以使用HTTP代理。所谓的自动下载是指,wget可以在用户退出系统的之后在后台执行。这意味这你 阅读全文

posted @ 2017-11-24 12:57 flyingwaters 阅读(191) 评论(0) 推荐(0) 编辑

2017年11月12日

一道简单的局部链表反转的问题,具体解决时的麻烦的分类

摘要: 这道leetcode题,看起来是十分简单的 但解决过程中,分类有些问题 Reverse a linked list from position m to n. Do it in-place and in one-pass. For example:Given 1->2->3->4->5->NULL, 阅读全文

posted @ 2017-11-12 16:45 flyingwaters 阅读(253) 评论(0) 推荐(0) 编辑

2017年11月9日

复习unp,unix network programming

摘要: 阅读全文

posted @ 2017-11-09 21:06 flyingwaters 阅读(122) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 11 下一页

导航