题解列表
蓝桥杯基础练习VIP-Sine之舞 -(递归、python代码)
摘要:# 解题思路
大多数求数列的问题可以利用递归的思想来解决,递归解题简洁有力,可读性好。本题的关键是如何找到An和Sn表达式的规律。
## An表达式
观察题目给出的式子,可得到An递归定义:
……
编写题解 1025: [编程入门]数组插入处理(初始解题,包含数组、循环、判断)
摘要:# 原题链接
**[编程入门]数组插入处理 - C语言网 https://www.dotcpp.com/oj/problem1025.html。**
## 解题思路
**1、按照题……
编写题解 1085: A+B for Input-Output Practice (I)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; while (scanf("%d %d",&a,&b)!=EOF) { ……
编写题解 1086: A+B for Input-Output Practice (II)
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; int a,b; cin>>n; ……
编写题解 1087: A+B for Input-Output Practice (III)
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b){ ……
矩阵对角线求和(指针解法)
摘要:解题思路: 1、本题是基于题目1024 解的 2、把二维的一个数组展开成一维度,直接用指针数组去存储 3、对角坐标的规律我这就不叙述了,根据规律定位指针的地址获取值即可注意事项: ……
编写题解 1088: A+B for Input-Output Practice (IV)
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; int a; while(true){……
编写题解 1089: A+B for Input-Output Practice (V)
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; int a; int m; ci……