蓝桥杯算法训练-排序C实现 摘要:```c #include void main() { int a[3],i,max,middle,min; scanf("%d %d %d",&a[0],&a[1],&a[2]); …… 题解列表 2021年09月10日 0 点赞 0 评论 715 浏览 评分:9.9
用循环语句判断每个三位数是否符合水仙花 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int a,b,c,d,n,i; //scanf("%d\n",&n); for(i…… 题解列表 2021年09月10日 0 点赞 0 评论 481 浏览 评分:9.9
原码求补码Java 摘要:### 原码,反码,补码的关系 反码:原码是正数,(原码就是反码)不变;原码是负数,原码符号位(最高位)不变,其余位按位取反; 补码:原码是正数,(原码就是补码)不变;原码是负数,反码符号位(最高…… 题解列表 2021年09月10日 0 点赞 0 评论 541 浏览 评分:9.9
输出三个整数的最大数C实现 摘要:```c #include void main() { int a,b,c; scanf("%d %d %d",&a,&b,&c); printf("%d",(a>b?a:b)>c?…… 题解列表 2021年09月11日 0 点赞 0 评论 734 浏览 评分:9.9
666 必看 进入惊喜 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,y,n,z,j; scanf("%d%d%d",&x,&y,&n); { if(x%4==0) …… 题解列表 2021年09月11日 0 点赞 0 评论 422 浏览 评分:9.9
编写题解 1072: 汽水瓶 (C++代码) 摘要:解题思路:利用递归思路求出空瓶数和已喝瓶数注意事项:自己的笨方法和直接除以二的那位兄台比不了参考代码:#include<bits/stdc++.h> using namespace std; …… 题解列表 2021年09月11日 0 点赞 0 评论 800 浏览 评分:9.9
蓝桥杯算法提高-快速排序-题解(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 评论 566 浏览 评分: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 评论 546 浏览 评分: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 评论 318 浏览 评分:9.9
Iridescent --Minesweeper 摘要:# Minesweeper ## 注意事项:getchar消化换行符 ### 思路:创建一个存储初始雷图的字符数组,以及一个与之对应的int数组,在雷图中找雷,找到后在对应的int数组位置,使其周…… 题解列表 2021年09月13日 0 点赞 0 评论 740 浏览 评分:9.9