蓝桥杯2025年第十六届省赛真题-可分解的正整数 代码其实不是很难写,注重的主要是思路,但凡你找到了只有1是不可分解的,而其他的正整数都可以被题目所述分解这一关键要点,你就能非常快而且简单的写出题解;画一个一维坐标,以0为中轴点,然后向两边延伸找其他的数,就能清晰地理清这个题的思路。参考代码:#includeintmain(){in 题解列表 2025年12月18日 18 点赞 2 评论 2116 浏览 评分:7.3
c语言,绝对值,分段函数求值 解题思路:注意事项:参考代码:#include#includeintmain(){floata,b,c,d,x1,x2,m,n;scanf("%f%f%f",&a,&b,&c);d=b*b-4*a*c;if(d>0){x1=(sqrt(d)-b)/(2*a);x2=( 题解列表 2025年12月20日 0 点赞 0 评论 427 浏览 评分:0.0
求平均年龄的C语言 解题思路:注意事项:参考代码:#include#includeintmain(){intN,i,zhong=0;floatbing;scanf("%d\n",&N);intM[N];for(i=0;i 题解列表 2025年12月20日 1 点赞 0 评论 516 浏览 评分:0.0 奥运奖牌计数 用数组 解题思路:注意事项:参考代码:#includeintmain(){longn,i,j,A=0,B=0,C=0;scanf("%ld",&n);longa[100],b[100],c[100];for(i=0;i 题解列表 2025年12月20日 0 点赞 0 评论 255 浏览 评分:0.0 利用数组判断回文 摘要:参考代码:#include<stdio.h>int mycount(int n){//计算位…… 题解列表 2025年12月21日 0 点赞 0 评论 223 浏览 评分:0.0 C语言最优解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c;&nbs…… 题解列表 2025年12月21日 3 点赞 0 评论 639 浏览 评分:10.0 给你们看看不用循环的办法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>//数字排序int main(){ int a=0; int b=0; int c=0; scanf("…… 题解列表 2025年12月21日 0 点赞 0 评论 418 浏览 评分:0.0 电报加密(字母是下一个字母 加一) 解题思路:1.在a和z之间2.注意在z时下一个是a其他情况都是ch+=1注意事项:参考代码:#includeintmain(){charch;while(scanf("%c",&ch)==1){if(ch<='z'&&ch>='a'){if(ch==& 题解列表 2025年12月21日 1 点赞 0 评论 456 浏览 评分:0.0 C语言+自定义函数求解一元二次方程 摘要:解题思路:注意事项:1. 一元二次方程一般形式:ax² + bx + c = 0(a不能等于0)2. 关键判别式:Δ = b² - 4ac(根的类型由它决定)&nb…… 题解列表 2025年12月22日 0 点赞 0 评论 842 浏览 评分:0.0 C语言两种方法解题 摘要:# //方法一:用switch...case语句/#includeint main(){ int score; scanf("%d",&score); /…… 题解列表 2025年12月22日 1 点赞 0 评论 664 浏览 评分:10.0 « 12...5854585558565857585858595860...59075908 »
奥运奖牌计数 用数组 解题思路:注意事项:参考代码:#includeintmain(){longn,i,j,A=0,B=0,C=0;scanf("%ld",&n);longa[100],b[100],c[100];for(i=0;i 题解列表 2025年12月20日 0 点赞 0 评论 255 浏览 评分:0.0 利用数组判断回文 摘要:参考代码:#include<stdio.h>int mycount(int n){//计算位…… 题解列表 2025年12月21日 0 点赞 0 评论 223 浏览 评分:0.0 C语言最优解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c;&nbs…… 题解列表 2025年12月21日 3 点赞 0 评论 639 浏览 评分:10.0 给你们看看不用循环的办法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>//数字排序int main(){ int a=0; int b=0; int c=0; scanf("…… 题解列表 2025年12月21日 0 点赞 0 评论 418 浏览 评分:0.0 电报加密(字母是下一个字母 加一) 解题思路:1.在a和z之间2.注意在z时下一个是a其他情况都是ch+=1注意事项:参考代码:#includeintmain(){charch;while(scanf("%c",&ch)==1){if(ch<='z'&&ch>='a'){if(ch==& 题解列表 2025年12月21日 1 点赞 0 评论 456 浏览 评分:0.0 C语言+自定义函数求解一元二次方程 摘要:解题思路:注意事项:1. 一元二次方程一般形式:ax² + bx + c = 0(a不能等于0)2. 关键判别式:Δ = b² - 4ac(根的类型由它决定)&nb…… 题解列表 2025年12月22日 0 点赞 0 评论 842 浏览 评分:0.0 C语言两种方法解题 摘要:# //方法一:用switch...case语句/#includeint main(){ int score; scanf("%d",&score); /…… 题解列表 2025年12月22日 1 点赞 0 评论 664 浏览 评分:10.0 « 12...5854585558565857585858595860...59075908 »
利用数组判断回文 摘要:参考代码:#include<stdio.h>int mycount(int n){//计算位…… 题解列表 2025年12月21日 0 点赞 0 评论 223 浏览 评分:0.0
C语言最优解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c;&nbs…… 题解列表 2025年12月21日 3 点赞 0 评论 639 浏览 评分:10.0
给你们看看不用循环的办法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>//数字排序int main(){ int a=0; int b=0; int c=0; scanf("…… 题解列表 2025年12月21日 0 点赞 0 评论 418 浏览 评分:0.0
电报加密(字母是下一个字母 加一) 解题思路:1.在a和z之间2.注意在z时下一个是a其他情况都是ch+=1注意事项:参考代码:#includeintmain(){charch;while(scanf("%c",&ch)==1){if(ch<='z'&&ch>='a'){if(ch==& 题解列表 2025年12月21日 1 点赞 0 评论 456 浏览 评分:0.0
C语言+自定义函数求解一元二次方程 摘要:解题思路:注意事项:1. 一元二次方程一般形式:ax² + bx + c = 0(a不能等于0)2. 关键判别式:Δ = b² - 4ac(根的类型由它决定)&nb…… 题解列表 2025年12月22日 0 点赞 0 评论 842 浏览 评分:0.0
C语言两种方法解题 摘要:# //方法一:用switch...case语句/#includeint main(){ int score; scanf("%d",&score); /…… 题解列表 2025年12月22日 1 点赞 0 评论 664 浏览 评分:10.0