蓝桥杯算法提高VIP-进制转换 摘要:解题思路:直接输入输出。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int s;int main(){ scanf("%x",&…… 题解列表 2022年05月05日 0 点赞 0 评论 560 浏览 评分:0.0
数据结构-八进制数 摘要:解题思路:直接循环输入输出。注意事项:while输入。参考代码:#include<bits/stdc++.h>using namespace std;int s;int main(){ whil…… 题解列表 2022年05月05日 0 点赞 0 评论 631 浏览 评分:0.0
[编程入门]二进制移位练习 摘要:解题思路:运用位移和与运算符。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int n;int main(){ scanf("%d…… 题解列表 2022年05月05日 0 点赞 0 评论 552 浏览 评分:0.0
蓝桥杯基础练习-十进制转十六进制 题解 摘要:解题思路:直接输入输出。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int s;int main(){ scanf("%d",&…… 题解列表 2022年05月05日 0 点赞 0 评论 613 浏览 评分: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 评论 583 浏览 评分:0.0
C++ 代码演示 注意条件的过滤 1.要求因子和相等;2.要求亲密数不同;3.要求亲密数对唯一;4.要求亲密数对大的在后,小的在前;```#include#include#include#include#include#definelllonglongusingnamespacestd;constintInf=1e4;intM, 题解列表 2022年05月06日 0 点赞 0 评论 705 浏览 评分:0.0
,,,,,,,,,,, 摘要:解题思路:注意事项:参考代码:#include <stdio.h>struct student{ char number[100]; char name[100]; int scor…… 题解列表 2022年05月06日 0 点赞 0 评论 555 浏览 评分:0.0
[编程入门]自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string s;int main(){ cin>>s; for(int i=…… 题解列表 2022年05月06日 0 点赞 0 评论 570 浏览 评分:0.0
[编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string s,b;int main(){ cin>>s>>b; cout<…… 题解列表 2022年05月06日 0 点赞 0 评论 600 浏览 评分:0.0
蓝桥杯算法提高-输出二进制表示 题解 摘要:解题思路:用位运算和&来转换。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int n;int main(){ scanf("%d…… 题解列表 2022年05月06日 0 点赞 0 评论 606 浏览 评分:0.0