题目 1023: [编程入门]选择排序 摘要: ~~STL大法好~~ 解法:优先队列,也可以叫小根堆。 ```cpp #include #include using namespace std; priority_queue q…… 题解列表 2022年08月16日 0 点赞 0 评论 516 浏览 评分:9.9
题解 1034: [编程入门]自定义函数之数字分离 摘要:解题思路:主函数输入字符串,output函数进行格式处理和输出。参考代码:#include<stdio.h> #include<string.h> int output(char a[],in…… 题解列表 2022年08月17日 0 点赞 4 评论 297 浏览 评分:9.9
二级C语言-温度转换 摘要:ctof是一个自定义的函数,它在这起到了一个温度转换的作用。而在主函数中要通过改变摄氏度的值,重复计算对应的华氏度的值。 参考代码: ```cpp #include using names…… 题解列表 2022年08月17日 0 点赞 0 评论 674 浏览 评分:9.9
二级C语言-寻找矩阵最值 摘要:```cpp #include using namespace std; int main() { int n,a[7][7],i,j,max,c,s; cin>>n; …… 题解列表 2022年08月17日 0 点赞 2 评论 454 浏览 评分:9.9
二级C语言-成绩归类 摘要:```cpp #include using namespace std; int main() { int a=0,b=0,c=0,n; do { …… 题解列表 2022年08月17日 0 点赞 0 评论 1375 浏览 评分:9.9
二级C语言-阶乘公式求值 摘要:```cpp #include #include using namespace std; long long n; double a[1000],sum=0; void fact(int…… 题解列表 2022年08月17日 0 点赞 0 评论 491 浏览 评分:9.9
汽水瓶(c++纯代码) 摘要:```cpp #include using namespace std; int qishui(int w) { int m=w/3,n=w%3,x,y,sum=0; wh…… 题解列表 2022年08月17日 0 点赞 0 评论 318 浏览 评分:9.9
弟弟的作业 摘要:```c #include int main() { int a,b,c,k,count=0; char x; while(~(k=scanf("%d%c%d=%d…… 题解列表 2022年08月17日 0 点赞 0 评论 672 浏览 评分:9.9
1074: 数字整除 摘要:```cpp #include #include using namespace std; int main() { char m[1050]; int h; …… 题解列表 2022年08月17日 1 点赞 0 评论 429 浏览 评分:9.9
蓝桥杯2022年第十三届省赛真题-重新排序(贪心,差分数组) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;const int N = 1e5 + 5…… 题解列表 2022年08月18日 0 点赞 0 评论 1069 浏览 评分:9.9