码迷,mamicode.com
首页 >  
搜索关键字:read case while    ( 57414个结果
java byte[]与十六进制字符串相互转换
###案例1 java byte[]与十六进制字符串相互转换 import java.util.Arrays; public class ccc { public static void main(String[] args) { int[] array ={-6, 1, 18, 114, 54, ...
分类:编程语言   时间:2021-04-01 12:57:31    阅读次数:0
非递归 前序/中序/后序 遍历二叉树
非递归前序遍历二叉树 1 void preTraverse(const BiTree &T){ 2 //initialStack(stack) 3 BiTree stack[MAX]; 4 int top=-1; 5 BiTree p=T; 6 //while(!stackEmpty(stack)| ...
分类:其他好文   时间:2021-03-31 12:27:44    阅读次数:0
dockerSearch命令报错解决方案
dockerSearch命令 Get https://index.docker.io/v1/search?q=redis&n=25: dial tcp: lookup index.docker.io on [::1]:53: read udp [::1]:49555->[::1]:53: read:... ...
分类:其他好文   时间:2021-03-31 12:10:21    阅读次数:0
C# While 超时设置
DateTime dt_now = DateTime.Now;//获取当前时间 while (dt_now.AddMinutes(1) > DateTime.Now) { //Todo:执行自己的操作 await Task.Delay(1000);//延迟1s } View Code 相对比较优雅一 ...
分类:Windows程序   时间:2021-03-31 11:49:06    阅读次数:0
搞懂二分查找
class Solution { public static void main(String[] args) { int[] arr = new int[]{0, 1, 2, 2, 2, 3, 4, 5}; //int index = binarySearch(arr, 2); //int ind ...
分类:其他好文   时间:2021-03-31 11:46:55    阅读次数:0
算法--动态规划
一、概念 1、三要素重叠(+备忘录)子问题、最优子结构、状态转移方程 2、(列状态转移方程)步骤 明确初始条件base case、明确状态、明确选择、定义dp数组/函数 二、斐波那契数列 1、原始暴力递归 重复运算--重叠子问题 递归的时间复杂度 2、带备忘录的递归(自顶向下) class Solu ...
分类:编程语言   时间:2021-03-31 11:35:50    阅读次数:0
uiautomator2结合python的一些操作
1 import os 2 3 # 获取手机系统信息 4 phone_sys = os.popen('adb shell "cat /system/build.prop | grep "product""').read() 5 print(phone_sys) 6 7 # 获取手机设备型号 8 de ...
分类:编程语言   时间:2021-03-30 13:42:38    阅读次数:0
[Node.js] Resolve path problem in all envs (require.resolve)
When dealing with `fs` library, the common problem you will meet is the path to file. Different envs may have different way to handle the path. The be ...
分类:Web程序   时间:2021-03-30 13:42:21    阅读次数:0
python操作hdfs
import contextlib import pyhdfs class HdfsUtil(object): def __init__(self, hosts='namenode1:9870,namenode2:9870', user_name='hdfs'): self.hosts = host ...
分类:编程语言   时间:2021-03-30 13:29:22    阅读次数:0
excel poi
依赖: <!--xls(03)--> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>4.1.2</version> </dependency> <!--xlsx(07)--> ...
分类:其他好文   时间:2021-03-30 13:28:43    阅读次数:0
57414条   上一页 1 ... 47 48 49 50 51 ... 5742 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!