蓝桥杯基础练习VIP-Huffuman树 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;vector<int>…… 题解列表 2026年03月05日 1 点赞 0 评论 117 浏览 评分:8.0
忽略大小写的字符串比较 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>#include <ctype.h>int main(){&…… 题解列表 2026年03月06日 0 点赞 0 评论 98 浏览 评分:0.0
#与圆相关的计算,python 摘要:解题思路:注意事项:参考代码:r = float(input())pi = 3.14159print(f"{2*r:.4f} {2*pi*r:.4f} {pi*r*r:.4f}")…… 题解列表 2026年03月06日 2 点赞 0 评论 185 浏览 评分:10.0
编写题解 2770: 计算浮点数相除的余数 摘要:解题思路:注意事项:参考代码:a,b = map(float,input().split())c = a%bprint(f"{c:g}")…… 题解列表 2026年03月06日 0 点赞 0 评论 110 浏览 评分:0.0
容易理解的C++代码(画展布置) 摘要:解题思路:用样例来推一下规律4 21 5 2 4根据题目的公式可知相邻的差值越小越好,那就先sort排序1 2 4 5然后手推一下2*2-1*1=34*4-2*2=125*5-4*4=9两个不太明显多…… 题解列表 2025年04月21日 10 点赞 0 评论 1172 浏览 评分:10.0
最大公约数和最小公倍数 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) …… 题解列表 2026年03月08日 0 点赞 0 评论 238 浏览 评分:0.0
用2行代码解决 摘要:解题思路:注意事项:参考代码:num = list( map(int,input( ).split( ) ))print(' '.join( map(str,sorted( num))…… 题解列表 2026年03月09日 0 点赞 0 评论 190 浏览 评分:10.0
链表合并 ***C语言解题*** 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>typedef struct Node{ int …… 题解列表 2026年03月09日 0 点赞 0 评论 243 浏览 评分:2.0
先求每一位的数,存放到数组中 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b[5],n,m; scanf("%d",&a); b[4]…… 题解列表 2026年03月09日 2 点赞 0 评论 347 浏览 评分:0.0
编写题解 3325: 蓝桥杯2025年第十六届省赛真题-2025 图形 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { int h,w; scanf("%d %d",&h,&w);&…… 题解列表 2026年03月09日 3 点赞 0 评论 403 浏览 评分:0.0