码迷,mamicode.com
首页 >  
搜索关键字:stl array    ( 35607个结果)
[CISCN 2019 初赛]Love Math
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
接口测试框架实战(四)| 搞定 Schema 断言
本文节选自霍格沃兹《测试开发实战进阶》课程教学内容。 JSON Schema 简介与安装 JSON Schema 是描述 JSON 数据结构的一种格式,JSON Schema 模式是一个词汇表。通过 JSON Schema 可以注释 JSON 的字段以及字段数据类型等信息。 在实际工作中,对接口返回 ...
分类:其他好文   时间:2020-07-13 15:35:25    阅读次数:66
弱校验之@NotNull@NotEmpty@NotBlank
@NotNull 适用于非空判断 The annotated element must not be {@code null}. CharSequence, Collection, Map 和 Array 对象不能是 null, 但可以是空集(size = 0)。 @NotEmpty 适用于判断集合 ...
分类:其他好文   时间:2020-07-13 15:30:22    阅读次数:76
Lodash常用函数(二)
数组/对象方法 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
JavaScript concat()方法
定义和用法 concat() 方法用于连接两个或多个数组。 该方法不会改变现有的数组,而仅仅会返回被连接数组的一个副本。 语法 array1.concat(array2,array3,...,arrayX) 参数 array2, array3, ..., arrayX 必需。 该参数可以是具体的值, ...
分类:编程语言   时间:2020-07-13 11:38:10    阅读次数:269
10-顺序二叉树-Scala实现
用树的结构遍历数组 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
1512. Number of Good Pairs
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
[LeetCode] 1512. Number of Good Pairs
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
记一次Windows MinGW g++编译c++代码
到这里下载GCC预编译包:https://sourceforge.net/projects/mingw-w64/files 下载这个: 解压并配置环境变量 将其内 mingw/bin 目录配到 PATH 环境变量下,使用命令 g++ -v,得到版本信息: 写C++代码 这里用 stl 库中的 vec ...
分类:编程语言   时间:2020-07-13 09:51:37    阅读次数:88
共35607条   上一页 1 ... 80 81 82 83 84 ... 3561 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!