whitesail
whitesail
全部文章
分类
归档
标签
去牛客网
登录
/
注册
whitesail的博客
全部文章
(共13篇)
题解 | 还是畅通工程(kruskal)
#include <iostream> #include <algorithm> using namespace std; const int MAX=100; struct edge{ int from; int to; int length; ...
2025-03-23
0
33
题解 | IP地址(bupt)
#include <iostream> using namespace std; int main() { int a,b,c,d; while(scanf("%d.%d.%d.%d",&a,&b,&c,&am...
2025-03-04
0
38
题解 | 矩阵幂(bupt)
#include <iostream> using namespace std; int main() { int n,k; while(cin >> n >> k) { int a[n][n]; int ...
2025-03-03
0
31
题解 | 查找第K小数(bupt)
#include <iostream> #include <vector> #include <algorithm> using namespace std; int main() { int n; while (cin >> n) ...
2025-02-28
0
37
题解 | 复数集合(bupt)
#include <iostream> #include <sstream> #include <string> #include <vector> #include <algorithm> using namespace std; st...
2025-02-28
0
34
题解 | 哈夫曼树(bupt)
#include <iostream> #include <vector> #include <algorithm> using namespace std; bool compare(int x, int y) { return x>y; } ...
2025-02-28
0
40
题解 | A+B(另解)
#include <iostream> #include <sstream> #include <string> using namespace std; int main() { string a, b; while (cin >>...
2025-02-25
0
34
题解 | A+B(bupt)
#include <iostream> #include <string> #include <cmath> using namespace std; int tostring(string s) { int num=0; bool isfu=f...
2025-02-25
0
38
题解 | 二进制数(bupt)
#include <iostream> #include <vector> using namespace std; int main() { int n; while (cin >> n) { vector<int>...
2025-02-25
0
36
题解 | 二叉树:递归求解
#include <iostream> using namespace std; int sum(int m, int n) { if(m==n) { return 1; } else if(m>n) { r...
2025-02-21
0
49
首页
上一页
1
2
下一页
末页