码迷,mamicode.com
首页 >  
搜索关键字:using password: yes    ( 53562个结果
标准库时间工具
//关于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
1019 数字黑洞 (20分)/1069 The Black Hole of Numbers (20分)
#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
B 1013 数素数 (20分)
#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
Codeforces Round #656 (Div. 3)
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
AC自动机模板
#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
时间转换 unix time stamp(时间戳), windows file time
#include <chrono> #include <iostream> #include <ctime> using namespace std; #pragma warning(disable:4996) void unixTime2Str(__int64 n, char strTime[], ...
分类:Windows程序   时间:2020-07-18 00:36:15    阅读次数:101
springboot java.sql.SQLException: Access denied for user ''@'localhost' (using password: NO) 巨坑!!!
今天用springboot搭建服务的时候发现,总是报错误 java.sql.SQLException: Access denied for user ''@'localhost' (using password: NO),上午查了很多东西,还是没有解决后面再一遍博客上面看到了 自己大意呀!!!!! ...
分类:数据库   时间:2020-07-17 16:21:21    阅读次数:126
SharePoint Online: Create Multiple Lists from a CSV File using PowerShell
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
C++ template
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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!