//关于duration: #include <iostream> #include <chrono> using namespace std; using namespace std::chrono; void f(int x) { for(int i=0;i!=x;++i) cout << i ...
分类:
其他好文 时间:
2020-07-18 13:45:36
阅读次数:
83
#include<iostream> #include<algorithm> #include<cstdio> using namespace std; bool cmp(int a,int b){ return a>b; } void to_array(int n,int num []) { fo ...
分类:
其他好文 时间:
2020-07-18 11:39:12
阅读次数:
78
#include<iostream> using namespace std; const int maxn=1000001; int prime[maxn],num=0; bool p[maxn]={0}; //找出素数 void findprime(int n){ for(int i=2;i<m ...
分类:
其他好文 时间:
2020-07-18 11:34:47
阅读次数:
77
Three Pairwise Maximums #include<bits/stdc++.h> using namespace std; typedef long long ll; const int N=2e5+3; typedef long long ll; const ll inf=1e18; ...
分类:
其他好文 时间:
2020-07-18 11:29:01
阅读次数:
89
#include<bits/stdc++.h> using namespace std; typedef long long ll; const int N=5e5+10; struct node{ int cnt; node * nxt[27]; node * fail; vector<node ...
分类:
其他好文 时间:
2020-07-18 00:44:51
阅读次数:
57
#include <chrono> #include <iostream> #include <ctime> using namespace std; #pragma warning(disable:4996) void unixTime2Str(__int64 n, char strTime[], ...
今天用springboot搭建服务的时候发现,总是报错误 java.sql.SQLException: Access denied for user ''@'localhost' (using password: NO),上午查了很多东西,还是没有解决后面再一遍博客上面看到了 自己大意呀!!!!! ...
分类:
数据库 时间:
2020-07-17 16:21:21
阅读次数:
126
How to Create Multiple lists from CSV File? We can use the combination of CSV and PowerShell to create multiple lists in bulk in SharePoint Online. He ...
分类:
系统相关 时间:
2020-07-17 14:13:50
阅读次数:
83
1 函数模板 #include <iostream> using namespace std; template <typename T> T square(T a) { return a * a; } int main(void) { cout << square<int>(3) << endl; ...
分类:
编程语言 时间:
2020-07-17 14:03:22
阅读次数:
65
\(\color{blue} \text {【题目描述】}\) 一棵树,点编号1 . . . n,Q次询问编号[l, r]的点的导出子图中有几个连通块。 \(\color{blue}\text{【输入】}\) 第一行n, Q。 接下来n ? 1行每行两个数表示一条树边(u, v)。 接下来Q行每行两 ...
分类:
其他好文 时间:
2020-07-17 14:02:42
阅读次数:
81