1025: [编程入门]数组插入处理 摘要:解题思路:注意事项: #include <stdio.h>#define M 10//插入排序void insertSort(int arry[], int len){ int i; …… 题解列表 2021年11月19日 0 点赞 0 评论 293 浏览 评分:2.0
蓝桥杯算法提高VIP-Pascal三角(精致递归) 摘要:参考代码:#include<iostream> using namespace std; int dfs(int x,int y){ if(y==1||x==y) return 1; …… 题解列表 2021年11月19日 0 点赞 0 评论 362 浏览 评分:9.9
输出九九乘法表 摘要:```python print(' Nine-by-nine Multiplication Table') print('------------------------------------…… 题解列表 2021年11月19日 1 点赞 0 评论 754 浏览 评分:9.9
钟神赛车 c++(记录自己的思路) 摘要:解题思路:田径赛马,先把两者排序,从对方速度小的开始比,遍历自己所有,把可以平的和赢的拿下,剩下就是输的参考代码:#include<iostream> #include<algorithm> us…… 题解列表 2021年11月19日 0 点赞 0 评论 417 浏览 评分:9.9
java 多函数解题 简单易理解 摘要:解题思路:分三个部分1:字典部分 接受 n 用String字符串 选择输出 返回类型为String 类型2:判断部分 判断接受的 n 大小,小于等于20直接调用字典 大于20的做特殊处理返回值为 :向…… 题解列表 2021年11月18日 0 点赞 0 评论 471 浏览 评分:9.9
编写题解 1067: 二级C语言-分段函数(python) 摘要:解题思路:注意事项:参考代码:x = int(input())if x < 0: y = abs(x)elif 0 <= x < 2: y = (x+1)**0.5elif 2<= x<4…… 题解列表 2021年11月18日 0 点赞 0 评论 472 浏览 评分:9.9
C++实现(其实应该算c++吧,随便改改就是c了) 摘要:解题思路:输入一个n,循环n次注意事项:没啥好注意的吧参考代码:#include<iostream> using namespace std; int main() { int n,s;//n…… 题解列表 2021年11月18日 0 点赞 0 评论 341 浏览 评分:9.9
蓝桥杯2014年第五届真题-分糖果 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstdio> using namespace std; int flag=0; int main(){…… 题解列表 2021年11月18日 0 点赞 0 评论 380 浏览 评分:9.9
自定义函数//初次见面,望各路大神多多关照哟!!! 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip> //注意保留四位小数哦!!!所以头文件是这个。using namespace st…… 题解列表 2021年11月18日 0 点赞 0 评论 340 浏览 评分:8.0
排序(C语言自己的排序函数) 摘要: #include #include //C语言自己的排序函数为qsort(),内部运用的是快速排序机制 int comp(const void *a,co…… 题解列表 2021年11月18日 0 点赞 0 评论 466 浏览 评分:0.0