zzu_lmc
zzu_lmc
全部文章
分类
acm(2)
codeforces(5)
java(3)
leetcode(1)
other(1)
博弈论(2)
并查集(1)
数论(1)
未归档(133)
水题(1)
百度之星(1)
算法(44)
莫比乌斯反演(1)
计算几何(1)
贪心(3)
归档
标签
去牛客网
登录
/
注册
zzu_lmc的博客
全部文章
(共200篇)
L2-022
转自点击打开链接 #include<iostream> using namespace std; typedef struct Node{ int a; int nt; }Node; int main() { Node p[100001]; int ad,n,addr...
模拟链表
2018-03-29
0
411
L2-024.部落
#include<cstdio> #include<set> #include<iostream> using namespace std; int f[10005]; int findf(int x) { return x==f[x]?x:f[x]=fi...
2018-03-29
0
360
L2-019
转自 点击打开链接 #include<bits/stdc++.h> using namespace std; int main() { int N,M,sum=0,cnt,flag=0; string str; cin>>N; set<s...
2018-03-28
0
369
L2-017
转自点击打开链接 #include<bits/stdc++.h> using namespace std; int main() { int n,sum=0,half=0; scanf("%d",&n); vector<int&g...
排序
2018-03-28
0
407
L2-16
转自点击打开链接 出现在输入输出函数中的%*c ,作用是在输入或输出时,跳过一个变量,例如:void main(){ int i=1,j=2,k=3; printf("%d,%*d,%d\n",i,j,k,i);//遇到%*d,就把j跳过了,输出k,故后面应该放4个变量}程...
dfs
2018-03-28
0
381
L2-015
转自点击打开链接 #include<cstdio> #include<vector> #include<algorithm> using namespace std; int cmp1(double a,double b){return a>b;} int ...
vector
2018-03-26
0
461
L2-014 列车调度 STL set
转自点击打开链接 #include<iostream> #include<set> using namespace std; int main() { int n,t; cin>>n; set<int >s; s.ins...
set
2018-03-26
0
435
L2-013
转自点击打开链接 #include<cstdio> #include<algorithm> #include<cstring> using namespace std; bool vis[510]; int e[510][510],n,m,k; void dfs(...
dfs
连通分量
2018-03-26
0
398
L2-012
转自点击打开链接 #include<cstdio> #include<vector> #include<cstring> using namespace std; vector<int>v; int n; void updajust(int i) { ...
堆
向上插入
2018-03-26
0
443
L2-021
转自点击打开链接 #include<iostream> #include<map> #include<cmath> #include<cstdio> #include<algorithm> using namespace std; stru...
map
2018-03-25
0
417
首页
上一页
11
12
13
14
15
16
17
18
19
20
下一页
末页