[编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; cin>>a; int b=a;…… 题解列表 2025年09月16日 0 点赞 0 评论 101 浏览 评分:0.0
乘法口诀表 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ for(int i=1;i<…… 题解列表 2025年09月16日 0 点赞 0 评论 115 浏览 评分:0.0
蓝桥杯2025年第十六届省赛真题-最短距离 摘要:解题思路:问题分析:该程序的核心功能是计算两个数组中对应元素差值的绝对值之和。通过对数组进行排序,可以确保这种计算方式得到的结果是最小可能的差值总和(这是基于 "排序后对应位置元素匹配可使总…… 题解列表 2025年09月16日 0 点赞 0 评论 146 浏览 评分:0.0
使用scanf读取空格,在多次读取时候需要把\n用getchar()读取,不然会产生死循环 摘要:#define_CRT_SECURE_NO_WARNINGS1#include<stdio.h>charstr[210];int…… 题解列表 2025年09月17日 0 点赞 0 评论 106 浏览 评分:0.0
最简单的处理与判断 摘要:解题思路:发现别人的都好复杂,决定自己写一个,一个条件判断,一个计算长度函数,二个循环注意事项:慢慢打磨,寻最简解法参考代码:#include<stdio.h>#include<st…… 题解列表 2025年09月18日 1 点赞 0 评论 110 浏览 评分:0.0
[编程入门]结构体之成绩统计2 摘要:解题思路:注意事项:参考代码:include<stdio.h>typedef struct Student{ char ID[100]; …… 题解列表 2025年09月18日 0 点赞 0 评论 40 浏览 评分:0.0
[编程入门]带参数宏定义练习,一看就会,一学就费 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define app(a,b) temt=a,a=b,b=temt;int main(){ in…… 题解列表 2025年09月19日 0 点赞 0 评论 35 浏览 评分:0.0
[编程入门]宏定义的练习,没话说 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define c (a%b)int main(){ int a=0,b=0; &nb…… 题解列表 2025年09月19日 0 点赞 0 评论 33 浏览 评分:0.0
自定义函数处理最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int max(int a, int b){ int i = 1; int m = 0; int arr[10] = { …… 题解列表 2025年09月19日 0 点赞 0 评论 33 浏览 评分:0.0
[编程入门]宏定义练习之三角形面积,简简单单 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>#define area sqrt(S*(S-a)*(S-b)*(S-c))#d…… 题解列表 2025年09月19日 0 点赞 0 评论 45 浏览 评分:0.0