牛客775081619号
牛客775081619号
全部文章
分类
归档
标签
去牛客网
登录
/
注册
牛客775081619号的博客
全部文章
(共7篇)
题解 | #迷宫问题#
#include<iostream> #include<vector> #include<map> #include<algorithm> #include<math.h> #include<set> #include<...
2024-09-15
0
80
题解 | #称砝码# 回溯法(只能过19个样例)
#include <iostream> #include <vector> #include<map> #include <algorithm> #include<math.h> #include<set> using nam...
2024-09-15
1
101
题解 | #二叉树遍历#
#include <iostream> #include <vector> #include<map> using namespace std; struct tree { struct tree* l=nullptr; struct tree...
2024-09-15
0
73
题解 | #质因数的个数#
#include <iostream> #include <vector> #include<map> #include<math.h> using namespace std; bool is_p(int x) { for (int i =...
2024-09-15
0
85
题解 | #反序输出#
import sys for line in sys.stdin: a = line.split() print(a[::][0][::-1])
2024-09-15
1
82
题解 | #约数的个数#
#include <iostream> #include <vector> #include<map> #include<math.h> using namespace std; vector<int> vetp;//质数数组 bool ...
2024-09-14
0
67
题解 | #密码截取#
#include <iostream> #include<string> #include<algorithm> using namespace std; int main() { string str; cin >> str; ...
2024-09-14
0
66