Dijskra(迪杰斯特拉)最短路径算法 摘要:``` #include using namespace std; const int N = 55; int g[N][N]; int n, m; bool st[N]; int…… 题解列表 2022年05月09日 0 点赞 0 评论 487 浏览 评分:9.9
[编程入门]自定义函数之字符串反转 摘要:解题思路:因为要倒序这个字符串,所以我们可以把他当做倒序输出注意事项:注意是从s.length()-1开始,到i>=0结束参考代码:#include<bits/stdc++.h> using nam…… 题解列表 2022年05月09日 0 点赞 0 评论 262 浏览 评分:0.0
积木画(c++) 摘要:```cpp #include using namespace std; typedef long long ll; const int N=1e7+5; const int MOD=1e9…… 题解列表 2022年05月09日 0 点赞 0 评论 1440 浏览 评分:6.0
Tom数的解法 摘要:# 1、定义 ```cpp #include #include using namespace std; char *str; int tom; ``` # 2、输入 看似很困难,其…… 题解列表 2022年05月09日 0 点赞 0 评论 827 浏览 评分:9.9
X进制减法(C++) 摘要:```cpp #include using namespace std; typedef long long ll; const int N=1e5+5; const int MOD=1e9…… 题解列表 2022年05月09日 0 点赞 1 评论 1592 浏览 评分:8.4
[编程入门]有规律的数列求和 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;float seqSum(short n); //有规律数列求和int main()…… 题解列表 2022年05月09日 0 点赞 0 评论 211 浏览 评分:0.0
[编程入门]求和训练 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c ; cin>>a>>b>>c…… 题解列表 2022年05月09日 0 点赞 0 评论 202 浏览 评分:0.0
[编程入门]利润计算 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main() { int profit = 0; float a…… 题解列表 2022年05月09日 0 点赞 0 评论 360 浏览 评分:9.9
[编程入门]分段函数求值 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main() { int x = 0; cin >> x; …… 题解列表 2022年05月09日 0 点赞 0 评论 520 浏览 评分:9.9
1007: [编程入门]分段函数求值 摘要:#include<iostream>#include<string.h>using namespace std;int main(){ int x,y; cin>>x; if(x<1) { y=x;…… 题解列表 2022年05月09日 0 点赞 2 评论 989 浏览 评分:9.9