原文: https://medium.com/@saschagrunert/demystifying-containers-part-i-kernel-space-2c53d6979504 This series of blog posts and corresponding talks aims ...
分类:
其他好文 时间:
2020-07-14 16:33:00
阅读次数:
54
来源:https://www.jb51.net/article/167630.htm /** * @Auther: IT贱男 * @Date: 2019/6/10 14:40 * @Description: User对象持久层 */ public interface UserMapper exten ...
分类:
其他好文 时间:
2020-07-14 16:21:15
阅读次数:
57
Number of Segments in a String (E) 题目 Count the number of segments in a string, where a segment is defined to be a contiguous sequence of non-space ch ...
分类:
其他好文 时间:
2020-07-14 09:24:30
阅读次数:
84
需要找规律确定最大的沙漏形状,将沙漏分为两部分看 上半部分比下半部分多一个符号,所以 总符号数 = 2*上半部分符号数 - 1 上半部分符号数 = (项数 * (1 + 一行中输出最多的符号数))/ 2 找到最终关系: 总符号数 = 2 * 项数^2 - 1(2n^2 - 1) 通过这个关系可以找到 ...
分类:
编程语言 时间:
2020-07-14 09:16:39
阅读次数:
63
题目链接:https://codeforces.com/contest/1380/problem/A 题意 给出一个大小为 $n$ 的排列,找出是否有三个元素满足 $p_i < p_j\ and\ p_j > p_k$ 。 题解 如果排列为增序或降序则无解,否则一定存在三个相邻的元素满足 $p_i ...
分类:
其他好文 时间:
2020-07-14 00:21:17
阅读次数:
67
1.欧拉角旋转 public void Rotate(Vector3 eulers, [DefaultValue("Space.Self")] Space relativeTo); 就容易想到的就是transform.Rotate方法: 1 RotationObj.transform.Rotate( ...
分类:
编程语言 时间:
2020-07-13 21:43:11
阅读次数:
104
1. 查看你是不是有php which php 2. 假设你的Demo.html 路径为 /Users/Sheron/Downloads/Demo.html cd /Users/Sheron/Downloads/php -S localhost:8080 3. 在浏览器打开 https://loca ...
分类:
Web程序 时间:
2020-07-13 21:34:38
阅读次数:
70
@NotNull 适用于非空判断 The annotated element must not be {@code null}. CharSequence, Collection, Map 和 Array 对象不能是 null, 但可以是空集(size = 0)。 @NotEmpty 适用于判断集合 ...
分类:
其他好文 时间:
2020-07-13 15:30:22
阅读次数:
76
地址:https://www.luogu.com.cn/problem/P2670 #include<iostream>int a[105][105]={0}; using namespace std; int main() { int n,m; cin>>n>>m; int i,j; char b ...
分类:
其他好文 时间:
2020-07-13 13:48:41
阅读次数:
64
pro文件QT += coreQT -= guiTARGET = untitled111CONFIG += consoleCONFIG -= app_bundleTEMPLATE = appSOURCES += main.cppINCLUDEPATH += C:\Program Files (x86 ...
分类:
其他好文 时间:
2020-07-13 09:46:03
阅读次数:
77