题解列表
1434: 蓝桥杯历届试题-回文数字
摘要:解题思路:注意事项:参考代码:n = int(input())
flag = 0
for i in range(10000, 1000000):
if str(i) == str(i)[……
1462: 蓝桥杯基础练习VIP-Huffuman树
摘要:解题思路:注意事项:参考代码:n = int(input())
arr = list(map(int, input().split()))
anwser = 0
while len(arr) >……
数列排序-冒泡数列(新手易懂)(c语言)
摘要:解题思路: 1. 读取输入的整数n,表示数列的长度。 2. 创建一个长度为n的整型数组,用来存储待排序的数列。 3. 读取输入的n个整数,将其存储到数组中。 4. 使用冒泡排序……
题解 1848: 求输入数据绝对值
摘要:#include <stdio.h>
#include <math.h>
int main() {
double num;
while (scanf("%lf", &num……
题解 2833: 金币 (使用数学公式)
摘要:| 天数 | 1 | 2 | 3 | 4| 5 |6 | 7 | 8 | 9 | 10 |...|
| :------------ | :------------ | :-……
1197: 发工资咯
摘要:解题思路:注意事项:参考代码:def coin_change(n):
coins = [100, 50, 10, 5, 2, 1]
num = []
for coin i……