HerioOvO
HerioOvO
全部文章
分类
BFS(5)
CF题解(3)
DFS(20)
DP(20)
LCA(2)
Leetcode(1)
Nowcoder题解(4)
ST(1)
Tarjan(1)
二分(4)
二分法(1)
二叉树题目(4)
位运算(2)
前缀和(4)
博弈论(3)
图论(1)
字符串(5)
学习笔记(1)
并查集(2)
快速幂(1)
思维(7)
排序(1)
数状数组(3)
数论(20)
暴力(5)
最短路(5)
未归档(5)
标记处理(1)
栈(1)
概率论(1)
模拟(2)
浮点数(1)
生成树(4)
算法(5)
素数筛(3)
线段树(6)
组合数学(8)
蓝桥杯(1)
计算几何(1)
贪心(26)
递推(3)
题解(3)
高精度(2)
归档
标签
去牛客网
登录
/
注册
HerioOvO的博客
全部文章
(共199篇)
ABC 162 D - RGB Triplets (组合数学)
ABC 162 D - RGB Triplets (组合数学) 题目传送门 思路: AC代码: #include<bits/stdc++.h> using namespace std; const int N=1e5+5; typedef long long ll; char s...
2020-05-01
0
609
ABC - 162 - F - Select Half (DP&奇偶性)
ABC - 162 - F - Select Half (DP&奇偶性) 题目传送门 思路: #include<bits/stdc++.h> using namespace std; typedef long long ll; const int N=2e5+5; ll ...
2020-05-01
0
547
ABC - 162 - E - Sum of gcd of Tuples (Hard) (DP&数论)
ABC - 162 - E - Sum of gcd of Tuples (Hard) (DP&数论) 思路: AC代码: #include<bits/stdc++.h> using namespace std; typedef long long ll; const in...
2020-05-01
0
649
E1. Three Blocks Palindrome (easy version) (暴力&前缀和)
E1. Three Blocks Palindrome (easy version) (暴力&前缀和) 题意传送门 思路: AC代码: #include<bits/stdc++.h> using namespace std; int a[27][3000]; int ma...
2020-05-01
0
725
E2. Three Blocks Palindrome (hard version) (贪心&暴力)
E2. Three Blocks Palindrome (hard version) (贪心&暴力) 题目传送门 思路: AC代码: #include<bits/stdc++.h> using namespace std; int main(){ int t,n; ...
2020-05-01
0
652
交互题 : 1. Guess the Number(二分)
交互题 : 1. Guess the Number(二分) 题目传送门 题意:给定1------1e6的范围的一个数,要你在规定次数内猜出该数。 思路: AC代码: #include<bits/stdc++.h> using namespace std; int main(){...
2020-05-01
0
833
交互题 B. Lost Numbers(暴力)
交互题 B. Lost Numbers(暴力) 题目传送门 思路: AC代码: #include<bits/stdc++.h> using namespace std; int q[5]; int a[7]={0,4,8,15,16,23,42}; int main(){ f...
2020-05-01
0
679
交互题 : A. Bear and Prime 100 (数论)
交互题 : A. Bear and Prime 100 (数论) 题目传送门 思路: AC代码: #include<bits/stdc++.h> using namespace std; int p[20]={2,3,5,7,11,13,17,19,23,29,31,37,41...
2020-05-01
0
649
C. Linova and Kingdom (DFS&贪心)
C. Linova and Kingdom (DFS&贪心) 题目传送门 思路: AC代码: #include<bits/stdc++.h> using namespace std; typedef long long ll; const int N=2e5+5; #d...
2020-05-01
0
605
D. Xenia and Colorful Gems (排序&贪心)
D. Xenia and Colorful Gems (排序&贪心) 题目传送门 思路: #include<bits/stdc++.h> using namespace std; typedef long long ll; const int N=1e5+5; #defi...
2020-05-01
0
834
首页
上一页
9
10
11
12
13
14
15
16
17
18
下一页
末页