大连海事大学xcx
大连海事大学xcx
全部文章
分类
CodeForces(33)
kmp(6)
一通乱写(13)
二分思想(4)
代码待改(4)
动态规划(60)
区间问题(2)
字符串处理(14)
实用程序(4)
小结论速证(2)
尺取技巧(6)
思维(8)
拓扑排序(4)
排序处理(5)
搜索(45)
数学(4)
数据结构(38)
数论(15)
暴力(2)
最小生成树(8)
最短路径(17)
未归档(33)
树(1)
模拟(10)
比赛后总得写点什么(7)
社团故事(2)
简单作业(19)
算法讲堂附加代码(1)
类模板(2)
线段树(2)
网络流(10)
英语阅读理解(12)
读书笔记(4)
贪心(14)
题解集合(3)
魔板(2)
归档
标签
去牛客网
登录
/
注册
脸滚键盘~
愿你技术顶尖,感情专一,待人真诚,永远一腔热血!
全部文章
(共15篇)
CodeForces - 538C Tourist's Notes解题报告
题目大意: 一个人,在山上,呆了好多天,然后已知他在某几天的高度,问他待在山上的这些天,最高可能到过多高。(注意他相邻两天所在高度差最大为1)。 抽象化:一个函数,告诉你它某几个点的坐标,且该函数图像斜率受到限制,问你该函数最大值为多少。 分析: 就说一句话,就是这些已知高度的日子(n个)把...
codeforces
2017-05-11
0
0
CodeForces - 538B Quasi Binary解题报告
题目大意: 给你一个数 n ,让你用一类数的和来表示它,这些数要满足条件,只由0和1组成,问你最少需要多少个这类数才能表示这个 n 。 代码: #include<iostream> #include<stdio.h> using namespace std; int...
codeforces
acm
算法
2017-05-11
0
533
CodeForces - 835C Star sky(dp)
题目大意: 给你一个 100*100 的地图,然后告诉你这个图中有若干个点有星星,每个星星有一个初始亮度 s ,每个星星的亮度随着时间的变化而周期性变化。现在要进行 1e5 次查询,每次查询给你一个矩阵,和一个时间 t ,让你求 t 时刻该矩阵内每个星星乘他们的亮度的和。 注:这里有一个坑点就是...
codeforces
dp
数据结构
算法
acm
2017-08-14
0
383
CodeForces - 835A Key races(阅读题)
代码: #include<bits/stdc++.h> using namespace std; int main() { int s,v1,v2,t1,t2; scanf("%d%d%d%d%d",&s,&v1,&v2,&...
codeforces
acm
水题
2017-08-12
0
429
CodeForces - 835B The number on the board(阅读题)
思路: 一个排序下去,然后从小到大挨个变成数字 9 就好了。 代码: #include<bits/stdc++.h> #define maxn 100050 using namespace std; int k; char a[maxn]; int b[maxn]; int m...
codeforces
阅读
2017-08-12
0
502
CodeForces - 839A Arya and Bran(简单模拟)
代码: #include<bits/stdc++.h> using namespace std; int n,k; int a[105]; int main() { scanf("%d%d",&n,&k); for(int i=1;i...
codeforces
acm
算法
2017-08-16
0
505
CodeForces 825A Multi-judge Solving(阅读题)
代码: #include<bits/stdc++.h> using namespace std; int main() { int n; char s[100]; scanf("%d",&n); scanf("%s...
codeforces
2017-09-02
0
438
CodeForces - 820A Mister B and Book Reading(阅读题)
题目大意: 有点像那个蜗牛上树,白天上晚上掉的那种。 代码: #include<bits/stdc++.h> using namespace std; int c,v0,v1,a,l; int main() { scanf("%d%d%d%d%d",&...
codeforces
2017-08-23
0
558
CodeForces - 821A Okabe and Future Gadget Laboratory(阅读题)
题目大意: 给你一个n*n的数阵,问你是不是这里面每个不为 1 的数都可以表示成它所在行的一个数和所在列的一个数的和。 代码: #include<bits/stdc++.h> using namespace std; int n; int a[60][60]; bool is_g...
codeforces
c语言
2017-08-23
0
399
CodeForces - 822A I'm bored with life(阅读题)
代码: //CodeForces - 822A I'm bored with life #include<bits/stdc++.h> using namespace std; int main() { int m,n; scanf("%d%d",...
codeforces
简单题
acm
算法
2017-09-02
0
503
首页
上一页
1
2
下一页
末页