1 <?php 2 error_reporting(0); 3 //听说你很喜欢数学,不知道你是否爱它胜过爱flag 4 if(!isset($_GET['c'])){ 5 show_source(__FILE__); 6 }else{ 7 //例子 c=20-1 8 $content = $_GE ...
分类:
其他好文 时间:
2020-07-13 16:52:52
阅读次数:
83
本文节选自霍格沃兹《测试开发实战进阶》课程教学内容。 JSON Schema 简介与安装 JSON Schema 是描述 JSON 数据结构的一种格式,JSON Schema 模式是一个词汇表。通过 JSON Schema 可以注释 JSON 的字段以及字段数据类型等信息。 在实际工作中,对接口返回 ...
分类:
其他好文 时间:
2020-07-13 15:35:25
阅读次数:
66
@NotNull 适用于非空判断 The annotated element must not be {@code null}. CharSequence, Collection, Map 和 Array 对象不能是 null, 但可以是空集(size = 0)。 @NotEmpty 适用于判断集合 ...
分类:
其他好文 时间:
2020-07-13 15:30:22
阅读次数:
76
数组/对象方法 1、remove(元素筛选,分到两个数组) 2、sortedUniq (去重,排序) 3、takeRightWhile ( 从array数组的最后一个元素开始提取元素,直到 predicate 返回假值 ) 4、uniqBy (去重,排序) 5、groupBy(分组) const u ...
分类:
其他好文 时间:
2020-07-13 15:24:42
阅读次数:
72
什么是size_t? size_t是当前平台下可能出现的最大的数组大小array.size,与unsigned int 没有明确的关联 stat函数 #include <sys/stat.h> int stat (const char* restrict pathname, struct stat* ...
分类:
其他好文 时间:
2020-07-13 12:04:07
阅读次数:
66
定义和用法 concat() 方法用于连接两个或多个数组。 该方法不会改变现有的数组,而仅仅会返回被连接数组的一个副本。 语法 array1.concat(array2,array3,...,arrayX) 参数 array2, array3, ..., arrayX 必需。 该参数可以是具体的值, ...
分类:
编程语言 时间:
2020-07-13 11:38:10
阅读次数:
269
用树的结构遍历数组 package com.atguigu.datastructures.binarytree object ArrayTreeDemo { def main(args: Array[String]): Unit = { val arr = Array(1,2,3,4,5,6,7) ...
分类:
其他好文 时间:
2020-07-13 11:30:18
阅读次数:
60
Given an array of integers nums. A pair (i,j) is called good if nums[i] == nums[j] and i < j. Return the number of good pairs. Example 1: Input: nums ...
分类:
其他好文 时间:
2020-07-13 09:59:42
阅读次数:
75
Given an array of integers nums. A pair (i,j) is called good if nums[i] == nums[j] and i < j. Return the number of good pairs. Example 1: Input: nums ...
分类:
其他好文 时间:
2020-07-13 09:57:03
阅读次数:
63
到这里下载GCC预编译包:https://sourceforge.net/projects/mingw-w64/files 下载这个: 解压并配置环境变量 将其内 mingw/bin 目录配到 PATH 环境变量下,使用命令 g++ -v,得到版本信息: 写C++代码 这里用 stl 库中的 vec ...
分类:
编程语言 时间:
2020-07-13 09:51:37
阅读次数:
88