回溯解法,JAVA: public final int numTilePossibilities(String tiles) { Set<String> set = new HashSet<String>(); search(tiles.toCharArray(), "", tiles.length ...
分类:
其他好文 时间:
2021-04-20 15:41:31
阅读次数:
0
public class Dome12 { //变量:可以变化的量 //java 是一种强类型语言,每个变量必须声明其类型 //java 变量是程序中最基本的存储单元,其元素包括变量名,变量类型和作用域 //注意事项: //1.每个变量都有类型,类型可以是基本类型,也可以是引用类型(String) ...
分类:
编程语言 时间:
2021-04-20 15:39:43
阅读次数:
0
常用的基本操作列表 命令行 解释 创建container docker container create image_name 创建并运行container 及进入交互终端参数 docker container run -it image_id CMD -i 交互模式 -t 终端 -it 为分配一个 ...
分类:
其他好文 时间:
2021-04-20 15:28:37
阅读次数:
0
this关键字 this关键字的作用: @Data public class jtest { private String name; public jtest(){ //调用构造方法,只能在构造方法中使用,且必须是第一行 this("dwx"); } public jtest(String nam ...
分类:
编程语言 时间:
2021-04-20 15:11:01
阅读次数:
0
一、bit_xor 1、头文件 #include <functional> 2、模板 template <class T> struct bit_xor; template <class T = void> struct bit_xor; 3、返回两个参数按位XOR的结果(公共成员函数) 4、使用 ...
分类:
其他好文 时间:
2021-04-20 15:10:43
阅读次数:
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
bash特殊变量 变量 含义 $0 函数名 \(n | n>=1,表示第一个、第二个、第n个参数、\)(10) $@ 全部参数 $* 全部参数 $# 参数个数 $_ 上一个命令的最后一个参数 $$ 当前shell进程ID $? 上一个命令的返回值 ...
分类:
其他好文 时间:
2021-04-20 14:55:25
阅读次数:
0
1.npm安装:npm install axios 2.axios发送请求后返回的是一个promise 3.axios发送get请求: import axios from 'axios'; axios.get('http://localhost:8080/getData?username=abc&i ...
分类:
移动开发 时间:
2021-04-20 14:53:50
阅读次数:
0
定义一个学生类,包含学号、姓名、成绩等属性。(1)使用重载函数定义多个构造函数。(2)使用默认参数定义构造函数。 #include<iostream> #include<string> using namespace std; class Student { public: Student(){ n ...
分类:
编程语言 时间:
2021-04-20 14:48:10
阅读次数:
0
unittest框架测试集合 1、将相关测试用例组合在一起,称之为测试用例集合,unittest框架中,通过TestSuite类来组装所有的测试用例 集。使用测试集合可以同时执行一个py文件中的多个测试用例类。 2、加载测试集合步骤如下: (1)TestLoader(用例加载器)根据传入的参数获取相 ...
分类:
其他好文 时间:
2021-04-20 14:40:11
阅读次数:
0