蓝桥杯算法提高VIP-企业奖金发放 摘要:解题思路:按照题目要求判断所在的范围,再输出就可以了。注意事项:要保留两位小数。参考代码:#include<bits/stdc++.h>using namespace std;double a;int…… 题解列表 2022年05月05日 0 点赞 0 评论 358 浏览 评分:0.0
统计字符个数 摘要:解题思路:边输入,边统计,最后输出就行了。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int letter=0,number=0,ot…… 题解列表 2022年05月05日 0 点赞 0 评论 313 浏览 评分:0.0
蓝桥杯算法提高VIP-进制转换 摘要:解题思路:直接输入输出。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int s;int main(){ scanf("%x",&…… 题解列表 2022年05月05日 0 点赞 0 评论 289 浏览 评分:0.0
数据结构-八进制数 摘要:解题思路:直接循环输入输出。注意事项:while输入。参考代码:#include<bits/stdc++.h>using namespace std;int s;int main(){ whil…… 题解列表 2022年05月05日 0 点赞 0 评论 344 浏览 评分:0.0
[编程入门]二进制移位练习 摘要:解题思路:运用位移和与运算符。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int n;int main(){ scanf("%d…… 题解列表 2022年05月05日 0 点赞 0 评论 307 浏览 评分:0.0
蓝桥杯基础练习-十进制转十六进制 题解 摘要:解题思路:直接输入输出。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int s;int main(){ scanf("%d",&…… 题解列表 2022年05月05日 0 点赞 0 评论 278 浏览 评分:0.0
c++兰顿蚂蚁问题 摘要:参考代码:#include<iostream> using namespace std; int dx[4]={-1,0,1,0};//上右下左顺时针 int dy[4]={0,1,0,-1};…… 题解列表 2022年05月06日 0 点赞 0 评论 301 浏览 评分:0.0
C++ 代码演示 注意条件的过滤 摘要: 1. 要求因子和相等; 2. 要求亲密数不同; 3. 要求亲密数对唯一; 4. 要求亲密数对大的在后,小的在前; ``` #include #include #incl…… 题解列表 2022年05月06日 0 点赞 0 评论 449 浏览 评分:0.0
,,,,,,,,,,, 摘要:解题思路:注意事项:参考代码:#include <stdio.h>struct student{ char number[100]; char name[100]; int scor…… 题解列表 2022年05月06日 0 点赞 0 评论 326 浏览 评分:0.0
[编程入门]自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string s;int main(){ cin>>s; for(int i=…… 题解列表 2022年05月06日 0 点赞 0 评论 311 浏览 评分:0.0