只能说,牛啊,要更加努力学习了 ``详见代码即可#include#includeintmain(){intf[1000];intg[1000];intn,m;scanf("%d%d",&n,&m);inti,j,d=0;if((m>=1&&m=1&&n 题解列表 2023年05月20日 0 点赞 0 评论 533 浏览 评分:0.0
[编程入门]结构体之成绩记录 摘要:解题思路:偷懒一下,写一个函数注意事项:参考代码:#include<bits/stdc++.h>using namespace std;struct student{ string xh,nam…… 题解列表 2023年05月20日 0 点赞 0 评论 434 浏览 评分:0.0
编写题解 1043: [编程入门]三个数字的排序 摘要:参考代码:#include <iostream>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; if(a<=b &…… 题解列表 2023年05月20日 0 点赞 0 评论 534 浏览 评分:0.0
题解 1043: 三个数字的排序 解题思路:题目中要求把输入的3个数从小到大依次输出,那么我们就要先考虑有几种可能的顺序第一个数第二个数第三个数abccbbaccacabba共6种另外,说明一下,如果有n个数,共有n!(即n的阶乘)种可能的顺序最后,把每种可能用if(第一个数<=第二个数&&第二个数<=第三个数){cout<<第一个数 题解列表 2023年05月20日 0 点赞 1 评论 987 浏览 评分:9.9
感谢支持,谢谢你们的支持 摘要:解题思路:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; if(a<…… 题解列表 2023年05月20日 0 点赞 0 评论 532 浏览 评分:6.0
三个数字排序 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c…… 题解列表 2023年05月20日 0 点赞 0 评论 571 浏览 评分:9.9
感谢支持,谢谢你们的支持 摘要:解题思路:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; switch(n) { …… 题解列表 2023年05月20日 0 点赞 0 评论 433 浏览 评分:0.0
编写题解 2784: 收集瓶盖赢大奖 (作者亲测~) 摘要:解题思路:没别的,记代码就行注意事项:顺序别错比如:#include <iostream>using namespace std;int main(){ int a,b; cin>>a>…… 题解列表 2023年05月20日 0 点赞 0 评论 591 浏览 评分:6.0
还是那句话,人生苦短,我用python 解题思路:注意事项:参考代码:a=input()print(a+a[::-1]) 题解列表 2023年05月20日 0 点赞 0 评论 764 浏览 评分:9.9
收费问题题题题题题题题题题 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a; cin>>a; if…… 题解列表 2023年05月20日 0 点赞 0 评论 626 浏览 评分:9.9