二级C语言-温度转换 题解 摘要:解题思路:这题就是转换温度,从-100度到150度。注意事项:每个温度隔着5度!参考代码:#include<bits/stdc++.h>using namespace std;int f;int wd…… 题解列表 2022年05月07日 0 点赞 0 评论 291 浏览 评分:0.0
[编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string s;int main(){ cin>>s; cout<<s.si…… 题解列表 2022年05月07日 0 点赞 0 评论 206 浏览 评分:0.0
[编程入门]成绩评定 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int n;int main(){ scanf("%d",&n); if…… 题解列表 2022年05月07日 0 点赞 0 评论 257 浏览 评分: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 评论 204 浏览 评分:0.0
二级C语言-分段函数 摘要:解题思路:直接按照题目的意思判断输出。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;double x;double f(double x…… 题解列表 2022年05月07日 0 点赞 0 评论 235 浏览 评分:0.0
蓝桥杯算法提高VIP-进制转换 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int n;int main(){ scanf("%X",&n); pr…… 题解列表 2022年05月07日 0 点赞 0 评论 282 浏览 评分:10.0
奖学金(C++结构体算法) 摘要:解题思路:使用结构体设置比总分,比语文,再比学号,定义,用一个数组输入,在排序加入结构体,最后输出;参考代码:#includeusing namespace std;int n;struct stu{…… 题解列表 2022年05月07日 0 点赞 0 评论 1252 浏览 评分:5.5
十->二进制转换 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string decToBin(int n){ string ans; …… 题解列表 2022年05月07日 0 点赞 0 评论 260 浏览 评分:0.0
内部收益率 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { int T, CF, sum; // …… 题解列表 2022年05月07日 0 点赞 0 评论 327 浏览 评分:0.0
c++蚂蚁感冒 摘要:解题思路:记录第一只蚂蚁的位置和方向,因为速度都是一样的,所以在(蚂蚁前面&&方向相同的蚂蚁)||(蚂蚁后面&&方向相反的)一定不会被感染   题解列表 2022年05月07日 0 点赞 0 评论 272 浏览 评分:0.0