码迷,mamicode.com
首页 >  
搜索关键字:using temporary    ( 54256个结果
单源最短路 : 多起点
https://www.acwing.com/problem/content/1139/ #include <bits/stdc++.h> using namespace std; #define IO ios::sync_with_stdio(false);cin.tie(0); cout.tie ...
分类:其他好文   时间:2021-02-15 11:53:52    阅读次数:0
单源最短路 : 拆点
https://www.acwing.com/problem/content/1133/ #include <bits/stdc++.h> using namespace std; #define IO ios::sync_with_stdio(false);cin.tie(0); cout.tie ...
分类:其他好文   时间:2021-02-15 11:53:38    阅读次数:0
单源最短路 : 计数
https://www.acwing.com/problem/content/1136/ #include <bits/stdc++.h> using namespace std; #define IO ios::sync_with_stdio(false);cin.tie(0); cout.tie ...
分类:其他好文   时间:2021-02-15 11:53:26    阅读次数:0
1481F.AB Tree(树上信息统计+01背包+记录DP路径+Bitset优化时间复杂度)
#include<bits/stdc++.h> using namespace std; const int maxn=1e5+100; const int inf=1e9; int n,m,x; int dep[maxn];//节点在第几层 int num[maxn];//每一层的节点个数 int ...
分类:其他好文   时间:2021-02-15 11:49:10    阅读次数:0
luogu集合刷题进阶
昨天光顾着跟kerin聊天忘记存盘了,写到一半的blog就,,,没了 今天主要是绿题怕怕, 主要是两个集合之间的东西,,,比如并查集 P1982 反集: 如果a和b是敌人,合并n+b和a,n+a和b 如果c和a是敌人,合并n+c和a,n+a和c 那么b和c就并在一起了 这样就符合了题目敌人的敌人是朋 ...
分类:其他好文   时间:2021-02-10 13:27:37    阅读次数:0
《 Codeforces Round #699 (Div. 2)》
A:把多余的步数删掉即可。 #include<bits/stdc++.h> using namespace std; typedef long long LL; typedef pair<int,int> pii; const int N = 1e4 + 5; const int M = 1e4 + ...
分类:其他好文   时间:2021-02-09 12:16:59    阅读次数:0
Kill port process
refer to: https://stackoverflow.com/questions/24387451/how-can-i-kill-whatever-process-is-using-port-8080-so-that-i-can-vagrant-up/24388281 怎么解决端口被占用的 ...
分类:其他好文   时间:2021-02-09 11:56:30    阅读次数:0
2021.01.30 Rating赛 解题/补题报告
A 一共n个人,去a餐厅的有a人,去b餐厅有b人,两个都去的有c人,求没有去的有多少,如果数据不合理或没去的人数少于1,输出-1 #include<bits/stdc++.h> using namespace std; #define ll long long int main() { int n, ...
分类:其他好文   时间:2021-02-09 11:44:03    阅读次数:0
Saruman's Army
#include<cstdio> #include<iostream> #include<set> #include<algorithm> using namespace std; set<int> s; int main(void) { int R, n; while (cin >> R >> n ...
分类:其他好文   时间:2021-02-08 12:52:08    阅读次数:0
[WPF 学习] 18. 摄像头(肢解DirectShow)
公司的产品需要人脸比对,摄像头相关的需求如下(突然发现除了英文不太好外,实际上中文也不太好,所以直接上一个接口) using System; using System.Drawing; using System.Windows.Media; namespace YK { public enum EC ...
分类:Windows程序   时间:2021-02-08 12:29:07    阅读次数:0
54256条   上一页 1 ... 41 42 43 44 45 ... 5426 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!