题解列表
1026使用for循环的写法
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a[10]; for(int i=0;i<……
蓝桥杯2025年第十六届省赛真题-最短距离贪心算法
摘要:解题思路:贪心思想,每个电器一定要找离自己最近的插头注意事项:对给出的位置进行排序,不知道具体位置,加绝对值参考代码:#include<bits/stdc++.h>using namesp……
1026使用stack相关语句完成逆序输出【桐人k】
摘要:解题思路:注意事项:涉及两种类型的变量,分别string,int,定义栈stack(头文件要包含include<stack>)栈的定义:  ……
编写题解 1129: C语言训练-排序问题(2)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int number[10]={0}; for(……
编写题解 1023: [编程入门]选择排序
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int number[10]={0}; for(……
编写题解 1169: 绝对值排序
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ while(1) &nb……