AND20211201
AND20211201
全部文章
分类
dfs(1)
总结(28)
数据结构(1)
未归档(1)
洛谷(1)
题解(113)
归档
标签
去牛客网
登录
/
注册
AND20211201的博客
TA的专栏
17篇文章
0人订阅
未解决
2篇文章
297人学习
数据结构
15篇文章
377人学习
全部文章
(共149篇)
密码锁
#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
203
哞加密
#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
模拟栈
来自专栏
栈是先进后出 int stk[N],tt; //插入操作 stk[++ tt] = x; //弹出操作 tt -- //判断非空 if(tt > 0) { no empty } else { empty } //栈顶 stk[tt];
2022-04-14
1
165
双链表
来自专栏
#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
钻石收藏家
#include<iostream> #include<algorithm> using namespace std; const int N = 1e4 + 10; int a[N]; int main() { int n, k; cin >>n...
2022-04-12
1
176
牛奶桶
#include<iostream> using namespace std; int main() { int n, m, l; cin >> n >> m >> l; while(l) { int x...
2022-04-11
0
180
晋升计数
#include<iostream> using namespace std; int a[4][2],b[4]; int main() { for(int i = 0; i < 4; i ++) for(int j = 0; j < 2; j ++)...
2022-04-11
1
197
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页