题目链接:https://leetcode.com/problems/split-array-into-fibonacci-sequence/description/ 占坑。 string 的数值转换函数(c++11)介绍 :https://blog.csdn.net/calmreason/arti ...
分类:
其他好文 时间:
2018-05-28 00:52:35
阅读次数:
862
第1章 JavaScript课堂总结 Blog链接: JS语法基础:http://www.cnblogs.com/liwenzhou/p/8004649.html BOM和DOM:http://www.cnblogs.com/liwenzhou/p/8011504.html jQuery:http: ...
分类:
Web程序 时间:
2018-05-27 19:02:10
阅读次数:
268
一、什么是seq2seq模型 seq2seq全称为:sequence to sequence ,是2014年被提出来的一种Encoder-Decoder结构。其中Encoder是一个RNN结构(LSTM、GRU、RNN等)。 主要思想是输入一个序列,通过encoder编码成一个语义向量c(conte ...
分类:
其他好文 时间:
2018-05-26 13:25:45
阅读次数:
402
用shell脚本实现某个寄存器的某几位设置 坑位1: 开发板上不认(ubuntu上可以) for (( i=0;i<6;i++ )) do done 换成: for i in `seq 0 6` do done 坑位2: 返回值承接用#?时默认只截取低8位 坑位3: 如上面,reg=`regread ...
分类:
系统相关 时间:
2018-05-25 21:08:39
阅读次数:
205
#fromkeys() #说明:用于创建一个新字典,以序列seq中元素做字典的键,value为字典所有键对应的初始值 #案例 d=[1,2,3] dict={} dict=dict.fromkeys(d) print dict #{1: None, 2: None, 3: None} dict=di... ...
分类:
其他好文 时间:
2018-05-24 19:57:15
阅读次数:
292
一、客户端: 1、导入socket库 import socket 2、指定协议类型 client = socket.socket( ) #不填默认是socket.AF_INET,socket.SOCK_STREAM) 协议类型有: 3、连接服务器 client.connect(('www.baidu ...
分类:
编程语言 时间:
2018-05-22 18:35:10
阅读次数:
175
Codeforces Round 484 (Div. 2) B. Bus of Characters B. Bus of Characters time limit per test 2 seconds memory limit per test 256 megabytes input standa ...
分类:
其他好文 时间:
2018-05-21 23:39:22
阅读次数:
371
视野受限了,感觉老是局限于眼下的分析方法,没法挖掘出一些新的东西。 Google:single cell differentiation Mouse embryonic stem cells can differentiate via multiple paths to the same state ...
分类:
其他好文 时间:
2018-05-21 19:43:23
阅读次数:
155
一、三次握手建连过程Client将标志位SYN置为1,随机产生一个值seq=x,并将该数据包发送给Server,Client进入SYN_SENT状态,等待Server确认。Server收到数据包后由标志位SYN=1知道Client请求建立连接,Server将标志位SYN和ACK都置为1,ack=x+1,随机产生一个值seq=y,并将该数据包发送给Client以确认连接请求,Server进入SYN_
分类:
其他好文 时间:
2018-05-21 12:36:56
阅读次数:
120
Minimum Inversion Number hdu 1394 The inversion number of a given number sequence a1, a2, ..., an is the number of pairs (ai, aj) that satisfy i < j a ...
分类:
其他好文 时间:
2018-05-20 18:10:54
阅读次数:
216