码迷,mamicode.com
首页 >  
搜索关键字:sam    ( 4212个结果
[LeetCode] 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 ...
分类:其他好文   时间:2020-06-09 09:54:47    阅读次数:67
socketserver hashlib hmac
1. socketserver: 网络协议的最底层就是socket,基于原有socket模块,又封装了一层,就是socketserver, socketserver 为了实现tcp协议,server端的并发. # 服务端 # 用socketserver解决TCP的并发问题 import socket ...
分类:系统相关   时间:2020-06-08 18:49:19    阅读次数:67
Pillow
模块介绍 Pillow是PIL的一个派生分支,但如今已经发展成为比PIL本身更具活力的图像处理库。pillow可以说已经取代了PIL,将其封装成python的库(pip即可安装),且支持python2和python3,目前最新版本是3.0.0。 常用功能 在日常应用过程中,使用最多的是 pillow ...
分类:其他好文   时间:2020-06-07 21:13:07    阅读次数:77
week12-D-正则括号
题意We give the following inductive definition of a “regular brackets” sequence: the empty sequence is a regular brackets sequence,if s is a regular bra ...
分类:其他好文   时间:2020-06-06 11:21:38    阅读次数:55
[USACO2007 MAR]Balanced Lineup
题目 Description Farmer John 决定给他的奶牛们照一张合影,他让 N (1 ≤ N ≤ 50,000) 头奶牛站成一条直线,每头牛都有它的坐标(范围: 0..1,000,000,000)和种族(0或1)。一直以来 Farmer John 总是喜欢做一些非凡的事,当然这次照相也不 ...
分类:其他好文   时间:2020-06-05 23:24:44    阅读次数:121
From DFA to KMP algorithm
From DFA to KMP algorithm DFA In the theory of computation, a branch of theoretical computer science, a deterministic finite automaton (DFA)—also know ...
分类:其他好文   时间:2020-06-05 15:09:25    阅读次数:63
STM32cubeMX+DMA+USART 接收任意长度的数据
DMA接收选用circle模式,如果是normal模式的话,需要每次在中断里面接收完成后重新开启DMA接收,circle模式不用每次都开启dma接收中断。如图 ···c void MX_USART1_UART_Init(void) { huart1.Instance = USART1; huart1 ...
分类:其他好文   时间:2020-06-04 01:15:09    阅读次数:85
事务的传播机制
事务传播机制 spring在TransactionDefinition接口中定义了七个事务传播行为: propagation_requierd:如果当前没有事务,就新建一个事务,如果已存在一个事务中,加入到这个事务中,这是最常见的选择。 propagation_supports:支持当前事务,如果没 ...
分类:其他好文   时间:2020-06-03 18:51:04    阅读次数:74
深入解析Linux Platform_device 及驱动
[导读] 前文分析了Linux设备驱动的驱动模型,本文来聊聊Platform_driver/Platform_device这个类。做嵌入式Linux的驱动,这个也是绕不开的,所以来学习分析总结一下。 上文阅读: 注:代码分析基于linux-5.4.31 为什么有Platform_driver 前文谈 ...
分类:系统相关   时间:2020-06-02 22:51:47    阅读次数:111
机器学习实战基础(三十七):随机森林 (四)之 RandomForestRegressor 重要参数,属性与接口
RandomForestRegressor class sklearn.ensemble.RandomForestRegressor (n_estimators=’warn’, criterion=’mse’, max_depth=None, min_samples_split=2, min_sam ...
分类:其他好文   时间:2020-06-02 19:17:09    阅读次数:286
4212条   上一页 1 ... 15 16 17 18 19 ... 422 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!