C++分离整数的各个位数 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>#include<cmath>#include<algor…… 题解列表 2026年03月03日 0 点赞 0 评论 139 浏览 评分:0.0
C++数字反转 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>#include<cmath>#include<algor…… 题解列表 2026年03月04日 0 点赞 0 评论 151 浏览 评分:0.0
蓝桥杯历届试题-翻硬币 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;intmain(…… 题解列表 2026年03月05日 1 点赞 0 评论 91 浏览 评分:0.0
蓝桥杯基础练习VIP-Huffuman树 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;vector<int>…… 题解列表 2026年03月05日 1 点赞 0 评论 107 浏览 评分:8.0
忽略大小写的字符串比较 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>#include <ctype.h>int main(){&…… 题解列表 2026年03月06日 0 点赞 0 评论 89 浏览 评分: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 评论 177 浏览 评分:10.0
编写题解 2770: 计算浮点数相除的余数 摘要:解题思路:注意事项:参考代码:a,b = map(float,input().split())c = a%bprint(f"{c:g}")…… 题解列表 2026年03月06日 0 点赞 0 评论 102 浏览 评分: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 评论 1163 浏览 评分:10.0
最大公约数和最小公倍数 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) …… 题解列表 2026年03月08日 0 点赞 0 评论 221 浏览 评分:0.0
用2行代码解决 摘要:解题思路:注意事项:参考代码:num = list( map(int,input( ).split( ) ))print(' '.join( map(str,sorted( num))…… 题解列表 2026年03月09日 0 点赞 0 评论 179 浏览 评分:10.0