1049:[编程入门]结构体之时间设计 摘要:```c #include typedef struct YMD{ int YEAR; int MON; int DAY; }YMD; int judge_leap(YMD da…… 题解列表 2022年05月09日 0 点赞 0 评论 331 浏览 评分:0.0
1050:[编程入门]结构体之成绩记录 摘要:```c #include #define Max 100 typedef struct sort{ char id[100]; char name[100]; int score…… 题解列表 2022年05月09日 0 点赞 0 评论 294 浏览 评分:0.0
[编程入门]自定义函数之字符串反转 摘要:解题思路:因为要倒序这个字符串,所以我们可以把他当做倒序输出注意事项:注意是从s.length()-1开始,到i>=0结束参考代码:#include<bits/stdc++.h> using nam…… 题解列表 2022年05月09日 0 点赞 0 评论 356 浏览 评分:0.0
1051:[编程入门]结构体之成绩统计2 摘要:```c #include #define Max 100 typedef struct sort{ char id[100]; char name[100]; int score…… 题解列表 2022年05月09日 0 点赞 0 评论 330 浏览 评分:0.0
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 评论 561 浏览 评分:9.9
砍竹子(C++实现) 摘要:```cpp #include using namespace std; typedef long long ll; const int N=2e5+5; int n; ll a[N][1…… 题解列表 2022年05月09日 0 点赞 0 评论 1405 浏览 评分:6.0
[编程入门]成绩评定c++ 摘要:解题思路:按题目来判定条件注意事项:<=,>=,<,>不要用错参考代码:#include<iostream>#include<fstream>#include<algorithm>//文件头using…… 题解列表 2022年05月09日 0 点赞 1 评论 544 浏览 评分:9.5
[竞赛入门]简单的a+b 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a,b;int main(){ while(cin>>a>…… 题解列表 2022年05月09日 0 点赞 0 评论 310 浏览 评分:0.0
第一个HelloWorld程序 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ cout<<"**********************…… 题解列表 2022年05月09日 0 点赞 0 评论 275 浏览 评分:0.0
自定义函数处理最大公约数与最小公倍数 题解(c++简单 函数解决) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a,b;int main(){ scanf("%d%d",&a,&b)…… 题解列表 2022年05月09日 0 点赞 0 评论 357 浏览 评分:0.0