AND20211201
AND20211201
全部文章
题解
dfs(1)
总结(28)
数据结构(1)
未归档(1)
洛谷(1)
归档
标签
去牛客网
登录
/
注册
AND20211201的博客
全部文章
/ 题解
(共113篇)
滑动窗口
来自专栏
#include<iostream> using namespace std; const int N = 1e6 + 10; int a[N], q[N]; int hh = 0, tt = -1; int main() { int n, k; cin >>...
2022-04-19
1
230
单调栈
来自专栏
#include<iostream> using namespace std; const int N = 1e5 + 10; int stk[N], tt; int main(...
2022-04-19
1
188
记录保存
#include<bits/stdc++.h> using namespace std; map<string,int> a; int main() { int n, mx = 0; cin >>n; for(int i = 1; i &l...
2022-04-19
1
206
奶牛选美
#include<bits/stdc++.h> using namespace std; const int N = 55; typedef pair<int, int> PII; char s[N][N]; bool t[N][N]; int dx[4] = {-1, 0,...
2022-04-18
0
309
密码锁
#include<iostream> using namespace std; int n; int a, b, c, aa, bb, cc; bool check(int x, int y) { if(abs(x - y) <= 2 || abs(x - y) >=...
2022-04-18
0
204
哞加密
#include<iostream> using namespace std; char s[55][55]; bool t[55][55]; int n, m; int ans = 0; int dx[8] = {1, 0, 1, 1, 0, -1, -1, -1}; int dy[8...
2022-04-17
2
279
删减
#include<bits/stdc++.h> using namespace std ; typedef long long ll ; const int mod = 1e9+ 7 ; string s1 , s2 , s3 ; int main( ) { cin &g...
2022-04-16
0
189
奶牛路线
#include <iostream> #include <algorithm> using namespace std; int main() { int a, b, n; scanf("%d%d%d", &a, &b, &n);...
2022-04-15
1
232
双链表
来自专栏
#include<bits/stdc++.h> using namespace std; typedef long long LL; typedef pair<int, int> PII; #define x first #define y second const int ...
2022-04-14
1
289
马拉松
#include<iostream> using namespace std; const int N = 1e5 + 10; pair<int,int>a[N]; #define x first #define y second int main() { int n...
2022-04-13
0
279
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页