码迷,mamicode.com
首页 >  
搜索关键字:date time    ( 77231个结果
实验三
// 生成N个0~99之间的随机整数,并打印输出 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 int main() { int x, n; srand(time(0)); // 以当前系统时间作为随机种子 ...
分类:其他好文   时间:2021-04-13 12:30:05    阅读次数:0
图片与base64转换
` /** * @Description: base64字符串转化成图片 * @Param: * @return: * @throws Exception * @author: hw * @date: 2021/4/12 15:45 */ public static boolean Generate ...
分类:其他好文   时间:2021-04-13 12:22:14    阅读次数:0
[CF301B] Yaroslav and Time - 最短路
坐标上有n个点,走一个单位距离要花d时间(只能横走纵走) $(3\le n\le 100,{10}^3\le d\le {10}^5)$ 除了起点和终点,其他的点都有个宝箱,每个宝箱可以加时间 $a_i(1\le a_{i}\le10^{3})$ 输出从起点到终点,刚开始最少要带多少时间 ...
分类:其他好文   时间:2021-04-13 12:06:14    阅读次数:0
Java8 常用时间转换工具类
时间工具类 import java.time.*; import java.time.format.DateTimeFormatter; import java.util.Date; public class TimeUtil { /** * 北京时间 */ private static final ...
分类:编程语言   时间:2021-04-13 12:01:10    阅读次数:0
PyCharm---设置py文件头部信息
"""@File : ${NAME}.py@Author : name@Time : ${DATE} ${HOUR}:${MINUTE}@explain :""" ...
分类:其他好文   时间:2021-04-13 11:58:13    阅读次数:0
100_监听器 Listener
https://www.bilibili.com/video/BV12J411M7Sj 监听器开发步骤 实现监听器接口,重写方法 package com.qing.listener; import javax.servlet.ServletContext; import javax.servlet. ...
分类:其他好文   时间:2021-04-13 11:54:43    阅读次数:0
【IO异步】异步理解与使用
# async函数创建与运行 async def funcC(): print("A方法需要等待C方法执行完毕") time.sleep(5) print("C方法完毕") # 如果在执行A里面想异步执行其他任务,就异步执行其他任务 asyncio.run(funcC()) async def fu ...
分类:其他好文   时间:2021-04-13 11:43:28    阅读次数:0
MySQL 忘记密码
1. vi /etc/my.cnf 2. update mysql.user set authentication_string=password('123456') where user='root' and host='localhost'; 3. FLUSH PRIVILEGES; ...
分类:数据库   时间:2021-04-12 12:44:01    阅读次数:0
多人聊天室。双人聊天室后面再加
calls=array( 'id' => null, 'nid' => null, 'name' => '', 'cur_time' => '', 'context' => '', 'switch' => '', ); //用户 $this->user=array( 'nid'=>null, 'na ...
分类:其他好文   时间:2021-04-12 12:28:30    阅读次数:0
使用python进行钉钉机器人的消息发送
#!/usr/bin/python3 import time import hmac import hashlib import base64 import urllib.parse import os timestamp = str(round(time.time() * 1000)) secre ...
分类:编程语言   时间:2021-04-12 12:15:47    阅读次数:0
77231条   上一页 1 ... 44 45 46 47 48 ... 7724 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!