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篇)
zoj 4016 list操作
#include<cstdio> #include<list> using namespace std; const int maxn=3e5+5; list<int>li[maxn]; //创建空list int main() { int ci,n,q,...
list
2018-04-10
0
391
我的第一个java 生命周期&垃圾回收
package J_Finalize; class J_Book { public int m_id;//书的编号 public J_Book(int i) { m_id=i; }//J_Book构造方法结束 protected void finalize() { switch ...
2018-04-10
0
338
zoj 4020 bfs
#include<cstdio> #include<vector> #include<queue> using namespace std; const int maxn=1e5+4; struct Node { int x,y; int dis;...
bfs
vector
2018-04-10
0
424
zoj 4019 动态规划
#include<cstdio> #include<algorithm> using namespace std; typedef long long ll; const int MAXN=2020; int k1,k2,c; int n,m; int a[MAXN],b[M...
2018-04-08
0
331
L2-023
ZHUANZI点击打开链接 #include<iostream> #include<cstring> #include<set> using namespace std; int v,e,k; int map[501][501]; int color[501]; ...
DFS
2018-04-06
0
383
hdu 2050折线分割平面 递推
相关资料点击打开链接 #include <stdio.h> int main() { int n,i,k,j; long long a[10010]; scanf("%d",&n); for(i=1;i&...
2018-04-06
0
338
hdu 2049错排+排列组合
hdu不支持 #include<bits/stdc++.h> 要换头文件 #include<bits/stdc++.h> using namespace std; #define N 2005 #define inf 0x3f3f3f3f long long f[N],n,m...
2018-04-06
0
321
天梯赛 分而治之
比赛的时候觉得这题和之前练习的一道叫做红色警戒的题类似,判断连通度,结果没做出来,我觉得没啥错的,竟然是多种错误,不能理解。。 后来发现还有另一种做法,比较简单。 #include<bits/stdc++.h> using namespace std; vector<int>...
emm
2018-04-05
0
427
天梯赛 名人堂与代金券
比赛的时候就得了2分,想不通,代码没有留下来,要不然就能再调调了,觉得没什么问题; #include<bits/stdc++.h> using namespace std; const int maxn=1e4+5; struct node { int rank,score; ...
2018-04-05
0
411
天梯赛 福到了
比赛的时候又zz了,用了个十分复杂的方法,。。。 #include<bits/stdc++.h> using namespace std; int main() { char ch, arr[105][105]; int n, flag = 0; scanf(&q...
2018-04-05
0
491
首页
上一页
11
12
13
14
15
16
17
18
19
20
下一页
末页