蓝桥杯算法提高-快速排序-题解(C语言) 摘要:```c #include void swap(int *a,int i,int j) { int temp; temp=a[i]; a[i]=a[j]; a[j]=temp; …… 题解列表 2021年09月12日 0 点赞 0 评论 605 浏览 评分:9.9
C语言训练-尼科彻斯定理题解 摘要:解题思路:注意事项:参考代码:x=int(input())m=x**3k=x//2t=str(x)+"*"+str(x)+"*"+str(x)+"="+str(m)+"="if x%2!=0: f…… 题解列表 2021年09月12日 0 点赞 0 评论 597 浏览 评分:9.9
[编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ int n; scanf("%d",&n); int l[5]={0}; i…… 题解列表 2021年09月12日 0 点赞 0 评论 372 浏览 评分:9.9
Iridescent --Minesweeper 摘要:# Minesweeper ## 注意事项:getchar消化换行符 ### 思路:创建一个存储初始雷图的字符数组,以及一个与之对应的int数组,在雷图中找雷,找到后在对应的int数组位置,使其周…… 题解列表 2021年09月13日 0 点赞 0 评论 810 浏览 评分:9.9
字符串匹配(Java代码) 摘要:很明显,这一道题根据题目的叙述,匹配的方式用的是最笨的一种(暴力匹配) 代码如下: ```java package datastrutures; import java.util.Scan…… 题解列表 2021年09月13日 0 点赞 0 评论 818 浏览 评分:9.9
[编程入门]自定义函数之字符串拷贝 摘要:解题思路:定义一个字符串,两个变量,用scanf接受输入字符串,传入自定义函数fun,再定义一个字符数组,用来接受复制的值,用for循环遍历,及求出复制的数据注意事项:scanf后边还有scanf的话…… 题解列表 2021年09月14日 0 点赞 0 评论 382 浏览 评分:9.9
A+B for Input-Output Practice (V) 摘要:解题思路:通过循环解决问题注意事项:参考代码:#include <stdio.h>int main(){ int n, m, i, sum = 0, j, a; scanf("%d", &n); fo…… 题解列表 2021年09月14日 0 点赞 3 评论 655 浏览 评分:9.9
极简_位组法_一位热心的老大爷 摘要:## 思路 **数组位置本身就已是顺序数列。** ## 代码 ```c #include int main(){ char a[1001] = {'\0'}; …… 题解列表 2021年09月15日 0 点赞 0 评论 450 浏览 评分:9.9
十二届时间显示题解 摘要:n=int(input())s=n//1000 t=s//3600zt=t%24m=s-t*3600zm=m//60zs=m-zm*60if zt<=10: zt="0"+str(zt) …… 题解列表 2021年09月15日 0 点赞 0 评论 1323 浏览 评分:9.9
亲和数//超级简单的思路 摘要:解题思路:超级简单注意事项:无参考代码:#include<stdio.h>int main(){ int M; scanf("%d",&M); while(M--) { int a,b,i,j,su…… 题解列表 2021年09月16日 0 点赞 0 评论 540 浏览 评分:9.9