牛客567628359号
牛客567628359号
全部文章
分类
归档
标签
去牛客网
登录
/
注册
牛客567628359号的博客
全部文章
(共35篇)
题解 | #搬水果#
#include <iostream> #include <queue> #include <unordered_map> using namespace std; int main() { int n; while (cin >>...
2023-03-25
0
264
题解 | #查找第K小数#
#include <iostream> #include <queue> #include <unordered_map> using namespace std; int main() { int n; while (cin >>...
2023-03-25
0
309
题解 | #二叉树遍历#
#include <iostream> using namespace std; struct treenode{ char data; treenode* left; treenode* right; treenode(char c): data(c...
2023-03-25
0
237
题解 | #八皇后#
#include <iostream> #include <vector> using namespace std; const int N = 20; //dfs(cur_r,cur_c) //st_1(8);st_2(8) //st_3(15);st_4(15) b...
2023-03-25
0
251
题解 | #玛雅人的密码#
#include <iostream> #include <unordered_map> #include <queue> using namespace std; int bfs(string s){ unordered_map<string...
2023-03-24
0
354
题解 | #2的幂次方#
#include <iostream> #include <vector> using namespace std; void dfs(int n){ if(n==0||n==2){ cout<<n; return; ...
2023-03-24
0
228
题解 | #递推数列#
#include <iostream> using namespace std; int main() { int a0,a1,p,q,k; cin>>a0>>a1>>p>>q>>k; int a,b,...
2023-03-23
0
220
题解 | #整除问题#
#include <iostream> #include <unordered_map> using namespace std; int main() { int n,a; //n!=1*2*....*n //a=p1^k1*p2^k2*....*...
2023-03-23
1
289
题解 | #约数的个数#
#include <iostream> #include <vector> using namespace std; int main() { int T,n; cin>>T; while (T--) { // 注意 while 处理多...
2023-03-23
0
231
题解 | #简单计算器#
#include <bits/stdc++.h> using namespace std; int getlevel(char op){ if(op=='#')return 0; else if(op=='$')return 1; else if(op=='+'...
2023-03-21
0
235
首页
上一页
1
2
3
4
下一页
末页