A题:An Olympian Math Problem 可以发现最终的答案就是n-1 1 #include <iostream> 2 #include<bits/stdc++.h> 3 using namespace std; 4 typedef long long ll; 5 int main() ...
分类:
其他好文 时间:
2018-09-04 11:45:59
阅读次数:
209
Linux下使用Openssl颁发Apache证书
分类:
Web程序 时间:
2018-09-02 15:29:05
阅读次数:
198
Fake, Low Quality Drugs Come at High CostAbout one in eight essential medicines in low- and middle-income countries may be fake or contain dangerous m ...
分类:
其他好文 时间:
2018-09-01 12:42:15
阅读次数:
289
为了更好的做一个程序员,重新建了个社交账户,一切都围绕着新的计划在扩展,慢慢的摸索吧,总会有出息的。我觉得原来的路子不错。Writing half of it in the blog garden, then fleeing to Google Translate to write English ...
分类:
其他好文 时间:
2018-09-01 12:16:46
阅读次数:
124
/* 第1个参数为I2C操作句柄 第2个参数为从机设备地址 第3个参数为从机寄存器地址 第4个参数为从机寄存器地址长度 第5个参数为发送的数据的起始地址 第6个参数为传输数据的大小 第7个参数为操作超时时间 */HAL_I2C_Mem_Write(&hi2c2,salve_add,0,0,PA_BU ...
分类:
其他好文 时间:
2018-08-31 17:21:56
阅读次数:
1385
```C++ class Solution { public: int MoreThanHalfNum_Solution(vector numbers) { if(numbers.empty()){ return 0; } if(numbers.size() == 1){ return numb..... ...
分类:
编程语言 时间:
2018-08-30 15:45:31
阅读次数:
173
#!/usr/bin/python#coding:utf-8importparamiko#iphosts=["192.168.10.70","192.168.10.71","192.168.10.72","192.168.10.73","192.168.10.74","192.168.10
分类:
其他好文 时间:
2018-08-29 18:41:29
阅读次数:
146
1 DB version is : 5.6.39 0 0 id = 2,name = 李明 执行事务 事务机制可以确保数据的一致性 1. 事务有四个属性:原子,一致,隔离,持久;通常称为ACID 2. Python DB API2.0的事务提供了两个方法:commit 和 rollback 3. 对 ...
分类:
数据库 时间:
2018-08-29 01:06:18
阅读次数:
213
Knightsbridge Rises 题目描述 High-rise buildings in the wealthy retail district of Knightsbridge are usually built with exotic hoisting machines known, in ...
分类:
其他好文 时间:
2018-08-29 01:03:57
阅读次数:
140