摘要: 邻接矩阵存图: c++ 1 #include<iostream> 2 using namespace std; 3 4 class AM//邻接矩阵存图 用法 AM 图的名称 ={规模长(int),规模宽(int),是否为无向图,是为true,不是为false(bool)} 5 { 6 privat 阅读全文
posted @ 2022-12-03 20:15 Algorithm_Weaver 阅读(53) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-11-27 19:38 Algorithm_Weaver 阅读(22) 评论(0) 推荐(0)
摘要: 就是一个笔记屑小项目, C++编写,有想一起开发的私信 AlgorithWeaver/V-note (github.com) 项目名V-note QVQ 阅读全文
posted @ 2022-11-26 14:22 Algorithm_Weaver 阅读(32) 评论(0) 推荐(1)
摘要: #include<iostream>using namespace std;int main() { long long n;cin >> n; if ((n - 1) % 4 == 0&&n!=1) { for (int i = 1; i <= n/4; i++)cout << "0011"; c 阅读全文
posted @ 2022-10-28 18:59 Algorithm_Weaver 阅读(13) 评论(0) 推荐(0)