###链接 贴一下青君大佬的博客~ #include<bits/stdc++.h> #define IL inline #define LL long long #define pb push_back #define pi pair<int,int> #define mk make_pair us ...
分类:
其他好文 时间:
2020-11-27 11:15:36
阅读次数:
6
https://www.luogu.com.cn/problem/P3366 1 #define IO std::ios::sync_with_stdio(0) 2 #include <bits/stdc++.h> 3 #define pb push_back 4 using namespace s ...
分类:
其他好文 时间:
2020-11-26 15:24:23
阅读次数:
48
void gridView1_MouseDown(object sender, MouseEventArgs e) { GridHitInfo info; Point pt = winGridView1.gridView1.GridControl.PointToClient(Control.Mous ...
分类:
其他好文 时间:
2020-11-26 15:06:38
阅读次数:
5
1.基本类型和引用类型在内存中的保存Java中数据类型分为两大类,基本类型和对象类型。相应的,变量也有两种类型:基本类型和引用类型。基本类型的变量保存原始值,即它代表的值就是数值本身;而引用类型的变量保存引用值,"引用值"指向内存空间的地址,代表了某个对象的引用,而不是对象本身,对象本身存放在这个引用值所表示的地址的位置。基本类型包括:byte,short,int,long,char,float,
分类:
编程语言 时间:
2020-11-26 14:57:53
阅读次数:
6
[20201121]显示时间戳高精度版本.txt--//工作需要,需要写一个高精度显示事件戳的版本。--//以前的版本如下:# cat ts.awk# /bin/bashgawk '{ print strftime("[%Y-%m-%d %H:%M:%S]"), $0 }'--//我看了一下man ...
分类:
其他好文 时间:
2020-11-26 14:51:35
阅读次数:
6
##1、DIR 定义 struct __dirstream { void *__fd; char *__data; int __entry_data; char *__ptr; int __entry_ptr; size_t __allocation; size_t __size; __libc_l ...
分类:
系统相关 时间:
2020-11-26 14:36:10
阅读次数:
7
#include<bits/stdc++.h> #define ll long long #define N 100015 #define rep(i,a,n) for (int i=a;i<=n;i++) #define per(i,a,n) for (int i=n;i>=a;i--) #def ...
分类:
其他好文 时间:
2020-11-25 12:45:31
阅读次数:
4
Long.valueOf() 和 Long.parseLong()区别 作用: 将String转化成long类型 区别:(其实不算什么区别,因为本质是一个东西,基本数据类型会自动装拆箱) Long.ValueOf("String") 返回Long包装类型 Long.parseLong("String ...
分类:
其他好文 时间:
2020-11-25 12:36:58
阅读次数:
2
noilinux-1.4.1(g4.8.4)下sizeof(long double a)为12,Windows(g4.9.2)和Deepin(g++8.3.0)下都为16 sort默认从小到大排序,默认使用operator<为比较符 priority_queue,默认大根堆,小根堆为priority ...
分类:
其他好文 时间:
2020-11-25 12:25:36
阅读次数:
6
__int128 是比 long long 还要大的数据类型(\(max = 2^{128}-1\)) 其输入和输出不能用常规方法,用 read() 和 write() 函数代替 #include<bits/stdc++.h> using namespace std; __int128 read(i ...
分类:
其他好文 时间:
2020-11-24 12:37:39
阅读次数:
6