主体C语言的简单链表 摘要:解题思路:封装函数 调用注意事项:参考代码://// Created by Freedom on 2024/3/19.//#include <iostream>#include <cstdio>usi…… 题解列表 2024年03月19日 0 点赞 0 评论 533 浏览 评分:0.0
单词的长度 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string s; int f = 0; …… 题解列表 2024年03月19日 0 点赞 0 评论 443 浏览 评分:0.0
Dijskra最短路径 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; const int N=55; int mp[N][N]; int n,…… 题解列表 2024年03月19日 0 点赞 0 评论 407 浏览 评分:9.9
蓝桥杯2022年第十三届省赛真题-求和(C++) 摘要:#include <iostream> using namespace std; const int N = 200000; int main() { int n = 0; …… 题解列表 2024年03月18日 1 点赞 0 评论 407 浏览 评分:0.0
3110: 最短路(Spfa)(C++)运用模板/防止时间超限 摘要:**本题数据量较大,要注意防止时间超出限制,时间极限的情况下,使用scanf/printf进行输入输出耗时更短** ```cpp #include #include #include #…… 题解列表 2024年03月18日 0 点赞 0 评论 503 浏览 评分:0.0
p进制转换q进制 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;int m;char c[]={'0',&#…… 题解列表 2024年03月18日 0 点赞 0 评论 467 浏览 评分:0.0
数据结构-Floyd(弗洛伊德)最短路径算法(C++)模板改 摘要:**直接输入邻接矩阵时的folyd最短路径,注意输出时将无穷大置为-1,否者会超出限制** ```cpp #include #include #include using namespace…… 题解列表 2024年03月18日 0 点赞 0 评论 417 浏览 评分:0.0
2954: 大整数乘法(C++)借助vector计算 摘要:```cpp #include #include #include using namespace std; //success vector mul(vector &A , vec…… 题解列表 2024年03月18日 0 点赞 0 评论 576 浏览 评分:0.0
数据结构-Dijskra(迪杰斯特拉)最短路径算法(短代码) 摘要:```cpp #include #include #include using namespace std; const int N = 100; int g[N][N]; int …… 题解列表 2024年03月18日 1 点赞 0 评论 613 浏览 评分:0.0
线性动态规划c++版 摘要:解题思路:简单的线性规划前i个字符的最大松散值=max(算上第i个,不算第i个)算上第i个=前i-2个字符的最大松散值+i的权重不算第i个=前i-1个字符的最大松散值注意事项:参考代码:#includ…… 题解列表 2024年03月18日 0 点赞 0 评论 627 浏览 评分:9.9