题解列表

筛选

蓝桥杯算法提高VIP-进制转换

摘要:解题思路:直接输入输出。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int s;int main(){    scanf("%x",&……

数据结构-八进制数

摘要:解题思路:直接循环输入输出。注意事项:while输入。参考代码:#include<bits/stdc++.h>using namespace std;int s;int main(){    whil……

[编程入门]二进制移位练习

摘要:解题思路:运用位移和与运算符。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int n;int main(){    scanf("%d……

c++兰顿蚂蚁问题

摘要:参考代码:#include<iostream> using namespace std; int dx[4]={-1,0,1,0};//上右下左顺时针 int dy[4]={0,1,0,-1};……

C++ 代码演示 注意条件的过滤

1.要求因子和相等;2.要求亲密数不同;3.要求亲密数对唯一;4.要求亲密数对大的在后,小的在前;```#include#include#include#include#include#definelllonglongusingnamespacestd;constintInf=1e4;intM,

,,,,,,,,,,,

摘要:解题思路:注意事项:参考代码:#include <stdio.h>struct student{    char number[100];    char name[100];    int scor……