总之就是非常浪漫
总之就是非常浪漫
全部文章
分类
归档
标签
去牛客网
登录
/
注册
总之就是非常浪漫的博客
全部文章
(共56篇)
题解 | #矩阵幂#
#include <iostream> #include <vector> #include <fstream> using namespace std; vector<vector<int>> multiply(const vector...
2023-03-03
0
178
题解 | #还是畅通工程#
#include <iostream> //#include <fstream> #include <queue> #include <algorithm> using namespace std; const int MAXN=100; struc...
2023-03-01
1
238
题解 | #连通图#
#include <iostream> #include <fstream> using namespace std; const int MAXN=1000; class UF { private: int _n; int _rank[MAXN]; ...
2023-02-28
0
178
题解 | DFS+visited[i]数组
#include <iostream> #include <fstream> #include <vector> using namespace std; void dfs(const vector<vector<bool>>& ma...
2023-02-27
0
210
题解 | #计算两个矩阵的乘积#
#include <iostream> //#include <fstream> #include <vector> using namespace std; int main() { //ifstream fin ("C:\\Users\\Admin...
2023-02-26
0
183
题解 | #素数#
#include <iostream> using namespace std; const int N=10001; bool nums[N]; int main() { int n; for(int i=2;i<N;++i) nums[i]=tru...
2023-02-25
0
141
题解 | #进制转换#
#include <iostream> #include <string> #include <algorithm> //#define ll long long using namespace std; string myDivide(string todo,...
2023-02-24
0
244
题解 | #二进制数#
#include <iostream> #include <algorithm> using namespace std; string itob(int x); int main() { ios::sync_with_stdio(false); cin....
2023-02-24
0
179
题解 | 用实现的堆栈
#include <iostream> using namespace std; const int DEFAULT =10; const int NOFOUND=0x7fffffff; template <typename T> class MyStack { priva...
2023-02-24
0
197
题解 | 看我!
#include <iostream> #include <unordered_map> #include <stack> #include <string> using namespace std; unordered_map<char,in...
2023-02-24
0
166
首页
上一页
1
2
3
4
5
6
下一页
末页