蓝桥杯历届试题-回文数字 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int n; bool f(int x){ int a[6],i=0,nu…… 题解列表 2021年11月18日 0 点赞 0 评论 494 浏览 评分:9.9
高精度加法 C++ 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<vector> using namespace std; vector<int> add(vector<in…… 题解列表 2021年11月18日 0 点赞 0 评论 452 浏览 评分:9.9
运用函数解决问题 摘要:解题思路:调用reverse函数在进行相加注意事项:建议了解字符串相关的函数参考代码#include <iostream>#include <string>#include <algorithm>us…… 题解列表 2021年11月18日 0 点赞 0 评论 301 浏览 评分:0.0
1635 这才是好方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,n,c,d; while(scanf("%d",&n)!=EOF){ b=0; …… 题解列表 2021年11月18日 0 点赞 0 评论 392 浏览 评分:0.0
编程入门]二维数组的转置 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <malloc.h> typedef struct student { double number; …… 题解列表 2021年11月18日 0 点赞 0 评论 335 浏览 评分:0.0
1979,好懂的方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int a,b,n,c,d;while(scanf("%d",&n)!=EOF){ b=0;c=n; …… 题解列表 2021年11月18日 0 点赞 0 评论 602 浏览 评分:0.0
编写题解 1167: 矩阵(C++)暴力解题 摘要:解题思路:数组b储存每一层的移动数,上一层移动一圈,下一层+1,直到最后一层移动一圈注意事项:参考代码:#include <iostream> using namespace std; int …… 题解列表 2021年11月18日 0 点赞 0 评论 871 浏览 评分:8.0
蓝桥杯基础练习VIP-数的读法(c++) 摘要:解题思路:帮别人写的有注释,顺便发个题解,看代码应该就理解了。参考代码:#include<iostream> #include<string> using namespace std; int …… 题解列表 2021年11月18日 0 点赞 0 评论 418 浏览 评分:9.9
最大公约数与最小公倍公倍数 C语言 摘要:解题思路:辗转相除法求出最小公约数,最小公倍数等于两数乘积/最小公约数。注意事项:参考代码:#include <stdio.h>int main(){ int x, y, a, b, x1, x2; …… 题解列表 2021年11月18日 0 点赞 0 评论 366 浏览 评分:0.0
蛇形矩阵(适合小白入门)简单运用数组和循环的知识(也可以用一维数组做) 摘要:解题思路:老思路了,找规律。由N控制行数,再由n,i控制列数j,再在每一行通过i和j控制数的大小。可能我这个方法比较烦,但应该好理解注意事项:先把每一行第一个数的大小表示出来参考代码:#include…… 题解列表 2021年11月18日 0 点赞 0 评论 614 浏览 评分:9.9