上一页 1 2 3 4 5 6 7 8 9 10 ··· 57 下一页

2018年5月8日

退役题目集合

摘要: 2019年07月25日23:56:32 https://www.hackerrank.com/challenges/sam-and-substrings/editorial 求一个数字字符串所有子串数字之和,dp[i]表示以第i个字符结尾的总和,列举所有出来可得到递推公式。 2018-05-08 1 阅读全文

posted @ 2018-05-08 16:58 stupid_one 阅读(180) 评论(0) 推荐(0) 编辑

2018年4月15日

python 学习笔记

摘要: 1、关于字符编码的问题 https://www.liaoxuefeng.com/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431664106267f12e9bef7ee14cf6a8776a479bdec9b9000 2、p 阅读全文

posted @ 2018-04-15 23:30 stupid_one 阅读(141) 评论(0) 推荐(0) 编辑

主席树-----动态开点,不hash

摘要: POJ - 2104 第k大 #include <cstdio> #include <cstdlib> #include <cstring> #include <cmath> #include <vector> #include <iostream> #include <algorithm> usi 阅读全文

posted @ 2018-04-15 21:05 stupid_one 阅读(123) 评论(0) 推荐(0) 编辑

2018年3月22日

[inner] bug

摘要: makefile: first step you should build a file name xxx.sh and then you should make it can execute use command "chomd +x xxx.sh" reference: http://tsov. 阅读全文

posted @ 2018-03-22 10:28 stupid_one 阅读(158) 评论(0) 推荐(0) 编辑

2018年3月7日

postgresql

摘要: 1、记得要开启服务 不然会出现 2、在terminal中运行的SQL语句用的双引号是' '。 然后关于sqlx包 db.Exec,执行的Query只是那些insert多。因为其是没返回值的。 返回一个lastInsertIndex 这个在postgresql中是没用的,还有一个就是rowsAffec 阅读全文

posted @ 2018-03-07 14:00 stupid_one 阅读(183) 评论(0) 推荐(0) 编辑

2018年2月23日

docker使用

摘要: https://github.com/kubernetes/minikube/issues/1043 1、参数大全 1.1 只能用第二种方法,一步一步来的。就可以进入一个ubuntu的系统 参数说明: 1.2用dockerfile构建一个自己的镜像 文件名称:Dockerfile(只能是这个,可以改 阅读全文

posted @ 2018-02-23 13:52 stupid_one 阅读(643) 评论(0) 推荐(0) 编辑

2018年2月14日

ubuntu 16.04 && google账号问题

摘要: 1、按ctrl + H 可以显示文件夹的隐藏内容 2、创建文件夹 sudo mkdir -p /usr/share/fonts/vista 创建文件用 vim filename.xxx 。。。记得用su root 3、删除文件夹 sudo rm -rf vista, 也可以删除文件 rm fileN 阅读全文

posted @ 2018-02-14 20:03 stupid_one 阅读(146) 评论(0) 推荐(0) 编辑

2018年2月7日

gRPC框架

摘要: https://blog.csdn.net/shuanger_/article/details/47281381 https://grpc.io/ gRPC是利用通讯协议是HTTP2,序列化用protoBuf x的一个框架 安装好后, 把helloworld.proto编译成 .go是有毒的,我配置 阅读全文

posted @ 2018-02-07 17:03 stupid_one 阅读(370) 评论(0) 推荐(0) 编辑

2018年2月2日

GO WEB

摘要: 1、第一个坑的就是,错误信息如下: 比较常见的错误“Connection reset by peer”,该错误和“Connection reset”是有区别的: 服务器返回了“RST”时,如果此时客户端正在从Socket套接字的输出流中读数据则会提示Connection reset”; 服务器返回了 阅读全文

posted @ 2018-02-02 18:59 stupid_one 阅读(411) 评论(0) 推荐(0) 编辑

2018年2月1日

计网复习

摘要: http://www.ruanyifeng.com/blog/2012/05/internet_protocol_suite_part_i.html 现在广泛应用的,是TCP/IP体系中的五层结构。对应的就是OSI体系的七层结构。 那么,五层结构,也就是分为: 物理层 -- 数据链路层 -- 网络层 阅读全文

posted @ 2018-02-01 16:06 stupid_one 阅读(190) 评论(1) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 9 10 ··· 57 下一页

导航