使用map和list构建列表求平均值 摘要:解题思路:注意事项:参考代码:lista = list(map(int,input().split(" ")))avg = sum(lista)/len(lista)count = 0for i in…… 题解列表 2021年09月09日 0 点赞 1 评论 1197 浏览 评分:9.9
蓝桥杯算法训练-排序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 评论 921 浏览 评分: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 评论 652 浏览 评分:9.9
原码求补码Java ###原码,反码,补码的关系反码:原码是正数,(原码就是反码)不变;原码是负数,原码符号位(最高位)不变,其余位按位取反;补码:原码是正数,(原码就是补码)不变;原码是负数,反码符号位(最高位)不变,数值位+1原码->反码->补码```javascript//packageStudy;importja 题解列表 2021年09月10日 0 点赞 0 评论 775 浏览 评分: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 评论 938 浏览 评分: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 评论 587 浏览 评分:9.9
编写题解 1072: 汽水瓶 (C++代码) 摘要:解题思路:利用递归思路求出空瓶数和已喝瓶数注意事项:自己的笨方法和直接除以二的那位兄台比不了参考代码:#include<bits/stdc++.h> using namespace std; …… 题解列表 2021年09月11日 0 点赞 0 评论 1232 浏览 评分:9.9
蓝桥杯算法提高-快速排序-题解(C语言) ```c#includevoidswap(int*a,inti,intj){inttemp;temp=a[i];a[i]=a[j];a[j]=temp;}voidsort(int*a,intleft,intright){if(left>=right)/*如果左边索引大于或者等于右边的索引就代表已经整理 题解列表 2021年09月12日 0 点赞 0 评论 764 浏览 评分: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 评论 717 浏览 评分: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 评论 499 浏览 评分:9.9