题解列表

筛选

蓝桥杯基础练习VIP-数的读法(c++)

摘要:解题思路:帮别人写的有注释,顺便发个题解,看代码应该就理解了。参考代码:#include<iostream> #include<string> using namespace std; int ……

编写题解 1167: 矩阵(C++)暴力解题

摘要:解题思路:数组b储存每一层的移动数,上一层移动一圈,下一层+1,直到最后一层移动一圈注意事项:参考代码:#include <iostream>  using namespace std; int ……

运用函数解决问题

摘要:解题思路:调用reverse函数在进行相加注意事项:建议了解字符串相关的函数参考代码#include <iostream>#include <string>#include <algorithm>us……

蓝桥杯历届试题-回文数字

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int n; bool f(int x){     int a[6],i=0,nu……

题解 妹子杀手的故事[ C++]

摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main(){     int a,b;     while(cin>>a……

Dinner C++

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<string> using namespace std; int main() {     int ……

思路清晰的递归

摘要:解题思路:         已知第一年有一只母牛,且每年年初会生一子,子会隔三年生一子,定义一个函数count(),功能是求前n年的母牛的数量,前n年的母牛数量是前n-1年的数量加上第n年的数量注意事……