C++分离整数的各个位数 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>#include<cmath>#include<algor…… 题解列表 2026年03月03日 0 点赞 0 评论 165 浏览 评分:0.0
C++数字反转 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>#include<cmath>#include<algor…… 题解列表 2026年03月04日 0 点赞 0 评论 183 浏览 评分:0.0
蓝桥杯历届试题-翻硬币 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;intmain(…… 题解列表 2026年03月05日 1 点赞 0 评论 115 浏览 评分:0.0
忽略大小写的字符串比较 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>#include <ctype.h>int main(){&…… 题解列表 2026年03月06日 0 点赞 0 评论 129 浏览 评分:0.0
编写题解 2770: 计算浮点数相除的余数 摘要:解题思路:注意事项:参考代码:a,b = map(float,input().split())c = a%bprint(f"{c:g}")…… 题解列表 2026年03月06日 0 点赞 0 评论 128 浏览 评分:0.0
最大公约数和最小公倍数 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) …… 题解列表 2026年03月08日 0 点赞 0 评论 278 浏览 评分:0.0
先求每一位的数,存放到数组中 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b[5],n,m; scanf("%d",&a); b[4]…… 题解列表 2026年03月09日 2 点赞 0 评论 367 浏览 评分:0.0
编写题解 3325: 蓝桥杯2025年第十六届省赛真题-2025 图形 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { int h,w; scanf("%d %d",&h,&w);&…… 题解列表 2026年03月09日 3 点赞 0 评论 420 浏览 评分:0.0
指针数组模拟2维数组(编译器允许可以使用变长数组) 摘要:解题思路:指针数组模拟2维数组(编译器允许可以使用变长数组)注意事项:内存分配(注意释放先行数组即int*再释放指针数组)和对角线上数字求和(奇偶有别,求和逻辑)参考代码:#include <s…… 题解列表 2026年03月10日 0 点赞 0 评论 232 浏览 评分:0.0
用两次逆序 摘要:解题思路:注意事项:参考代码:data=input().split()data=list(data)for i in data[::-1]: print(i[::-1],en…… 题解列表 2026年03月13日 0 点赞 0 评论 141 浏览 评分:0.0