[编程入门]宏定义之闰年判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long n;int main(){ cin>>n; if(n%10…… 题解列表 2022年05月07日 0 点赞 0 评论 351 浏览 评分:0.0
计算数字个数 摘要:解题思路:用字符串注意事项:i的下标是0参考代码:#include<bits/stdc++.h>using namespace std;string z;long long s;int main(){…… 题解列表 2022年05月07日 0 点赞 0 评论 281 浏览 评分:0.0
二级C语言-寻找矩阵最值 题解 摘要:解题思路:这题我用了伪二维的方法来比大小找最大的数,再用两个变量来分别标记他的横竖位置。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;i…… 题解列表 2022年05月07日 0 点赞 0 评论 381 浏览 评分:0.0
[编程入门]Sn的公式求和 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,a=2; cin>>n; lo…… 题解列表 2022年05月07日 0 点赞 0 评论 269 浏览 评分:0.0
[编程入门]字符串分类统计 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string s;long long yw,sz,kg,qt;int main(){…… 题解列表 2022年05月07日 0 点赞 0 评论 387 浏览 评分:0.0
二级C语言-温度转换 题解 摘要:解题思路:这题就是转换温度,从-100度到150度。注意事项:每个温度隔着5度!参考代码:#include<bits/stdc++.h>using namespace std;int f;int wd…… 题解列表 2022年05月07日 0 点赞 0 评论 397 浏览 评分:0.0
[编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string s;int main(){ cin>>s; cout<<s.si…… 题解列表 2022年05月07日 0 点赞 0 评论 276 浏览 评分:0.0
[编程入门]成绩评定 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int n;int main(){ scanf("%d",&n); if…… 题解列表 2022年05月07日 0 点赞 0 评论 351 浏览 评分:0.0
Minesweeper遍历 摘要:参考代码:#include<iostream> #include<cstring> using namespace std; int dx[8]={1,0,-1,0,1,1,-1,-1}; i…… 题解列表 2022年05月07日 0 点赞 0 评论 293 浏览 评分:0.0
二级C语言-分段函数 摘要:解题思路:直接按照题目的意思判断输出。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;double x;double f(double x…… 题解列表 2022年05月07日 0 点赞 0 评论 335 浏览 评分:0.0