[编程入门]成绩评定 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int n;int main(){ scanf("%d",&n); if…… 题解列表 2022年05月07日 0 点赞 0 评论 385 浏览 评分: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 评论 381 浏览 评分:0.0
二级C语言-分段函数 摘要:解题思路:直接按照题目的意思判断输出。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;double x;double f(double x…… 题解列表 2022年05月07日 0 点赞 0 评论 376 浏览 评分:0.0
蓝桥杯算法提高VIP-进制转换 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int n;int main(){ scanf("%X",&n); pr…… 题解列表 2022年05月07日 0 点赞 0 评论 456 浏览 评分:10.0
奖学金(C++结构体算法) 摘要:解题思路:使用结构体设置比总分,比语文,再比学号,定义,用一个数组输入,在排序加入结构体,最后输出;参考代码:#includeusing namespace std;int n;struct stu{…… 题解列表 2022年05月07日 0 点赞 0 评论 1494 浏览 评分:5.5
十->二进制转换 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string decToBin(int n){ string ans; …… 题解列表 2022年05月07日 0 点赞 0 评论 415 浏览 评分:0.0
内部收益率 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { int T, CF, sum; // …… 题解列表 2022年05月07日 0 点赞 0 评论 518 浏览 评分:0.0
c++蚂蚁感冒 摘要:解题思路:记录第一只蚂蚁的位置和方向,因为速度都是一样的,所以在(蚂蚁前面&&方向相同的蚂蚁)||(蚂蚁后面&&方向相反的)一定不会被感染   题解列表 2022年05月07日 0 点赞 0 评论 601 浏览 评分:0.0
1008: [编程入门]成绩评定 摘要:解题思路:这题直接暴力好吧注意事项:要加=,输出是大写参考代码:#include<bits/stdc++.h>using namespace std;int n;int main(){ cin>>n;…… 题解列表 2022年05月06日 0 点赞 0 评论 422 浏览 评分:0.0
二级C语言-最小绝对值 题解 摘要:解题思路:和找最小数差不多,只不过是绝对值,在找是要用abs,最后找到后和最后一个数交换,输出操作后的数列。注意事项:无。参考代码:#include<bits/stdc++.h>using names…… 题解列表 2022年05月06日 0 点赞 0 评论 387 浏览 评分:0.0