在考古的小鱼干很有气魄
在考古的小鱼干很有气魄
全部文章
分类
归档
标签
去牛客网
登录
/
注册
在考古的小鱼干很有气魄的博客
全部文章
(共84篇)
题解 | #查找#
#include <iostream> #include <string> #include <algorithm> using namespace std; int main() { string s; cin >> s; in...
2023-03-18
2
345
题解 | #树查找#
#include <bits/stdc++.h> #define MAX 1001 using namespace std; int main(){ int n; cin>>n; int data[MAX],len; for(int i = 1; i <= n...
2023-03-17
1
348
题解 | #打牌#
#include <bits/stdc++.h> using namespace std; int main(){ string pai,op; cin>>pai>>op; int len = op.size(); switch(len < 5) ...
2023-03-17
1
373
题解 | #矩阵幂#
#include <bits/stdc++.h> #define MAX 100 using namespace std; typedef long long ll; typedef struct matrix{ ll data[MAX][MAX]; matrix(){ me...
2023-03-17
1
322
题解 | #查找第K小数#
#include <bits/stdc++.h> using namespace std; int main(){ set<int> st; int n,tmp; cin>>n; for(int i = 0; i < n; i++) { ci...
2023-03-16
1
367
题解 | #哈夫曼树#
#include <bits/stdc++.h> using namespace std; int main(){ int n,tmp; vector<int> v; cin>>n; for(int i = 0; i < n; i++){ ...
2023-03-16
1
305
题解 | #二进制数#
#include <bits/stdc++.h> #define MAX 50 using namespace std; void d2b(unsigned int n){ int data[MAX],len = 0; while(n){ data[len++] = n ...
2023-03-16
1
286
题解 | #字符串的排列#
class Solution { public: vector<string> res; void dfs(vector<char> data, bool visited[], string list) { if (list.size() ...
2023-03-16
1
293
题解 | #有重复项数字的全排列#
class Solution { public: vector<vector<int>> res; void dfs(vector<int> &num,vector<int> list,int visited[]){ ...
2023-03-16
1
294
题解 | #没有重复项数字的全排列#
class Solution { public: vector<vector<int>> res; void fun(vector<int> &num,vector<int> list){ if(list.size()...
2023-03-16
1
280
首页
上一页
1
2
3
4
5
6
7
8
9
下一页
末页