【事件】 bike trip Describe an unforgettable bike trip you had You should say: When and where you had the trip Who you went with Why you had the trip by b ...
分类:
其他好文 时间:
2021-04-21 12:57:26
阅读次数:
0
根据完全二叉树的性质(编号为$u$的节点的左儿子编号为$u2$,右儿子编号为$u2+1$),并利用后序遍历进行递归建树。 $level[i]$存储编号为$i$的节点的值。 const int N=35; int post[N]; int level[N]; int n; int k; void df ...
分类:
其他好文 时间:
2021-04-21 12:54:57
阅读次数:
0
8.处理 Promise 抛出的异常 <script src="./Promise.js"></script> <script type="text/javascript"> let p = new Promise((resolve, reject) => { throw 'error'; }) p ...
分类:
其他好文 时间:
2021-04-21 12:20:24
阅读次数:
0
统计tomcat的access日志的ip次数,并按次数排序 awk '{sum[$1]++}END{for(i in sum) print i "\t" sum[i]}' localhost_access_log.* | sort -n -k2 统计某个接口的调用时间 awk '{if($7~/.* ...
分类:
数据库 时间:
2021-04-21 12:18:10
阅读次数:
0
from selenium.webdriver import Chrome, ActionChainsfrom selenium.webdriver import Chromefrom selenium.webdriver.common.keys import Keys#显示等待import req ...
分类:
其他好文 时间:
2021-04-21 11:51:03
阅读次数:
0
###三方框架 PromiseKit : https://github.com/mxcl/PromiseKit Bolts : https://github.com/BoltsFramework/Bolts-ObjC ###自定义demo: #import <Foundation/Foundatio ...
分类:
移动开发 时间:
2021-04-20 15:43:40
阅读次数:
0
Date date = new Date(((java.sql.Timestamp) message.getSendTime()).getTime()); DateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); format. ...
分类:
其他好文 时间:
2021-04-20 15:27:23
阅读次数:
0
简单实例: >存储过程,参数的传入! delimiter $ create procedure p1() begin declare i int default 10; select concat ('i的取值是:',i) as QuZhi; end $ delimiter $ create pro ...
分类:
数据库 时间:
2021-04-20 15:04:52
阅读次数:
0
1、关闭MySQL [root@mysql ~]# /etc/init.d/mysqld stopShutting down MySQL.. SUCCESS! 2、修改参数文件/etc/my.cnf [root@mysql ~]# cat /etc/my.cnf[mysqld] port=3306 ...
分类:
数据库 时间:
2021-04-20 14:29:49
阅读次数:
0
连续写入 void i2c_write( unsigned char *strpuf,unsigned char num ,u8 addr) // strpuf是传入的数组,num是传递的个数,addr是分配的地址{ I2CStart(); I2CSendByte(0xa0); I2CWaitAck ...
分类:
其他好文 时间:
2021-04-20 14:19:34
阅读次数:
0