python 编写题解 1635: 蓝桥杯算法训练VIP-整数平均值 摘要:参考代码:n = int(input()) arr = list(map(int, input().split())) print(int(sum(arr)/n))…… 题解列表 2024年03月11日 0 点赞 0 评论 762 浏览 评分:0.0
用%0.2f规定输出格式 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void main(){ int x; double y; scanf("%d",&x); if(x<1)y=x; else if(x>…… 题解列表 2024年03月11日 0 点赞 0 评论 551 浏览 评分:0.0
python 编写题解 2796: 求整数的和与均值 摘要:参考代码:n = map(int, input().split()) n = list(n) if len(n) == 1: arr = [int(input()) for _ in r…… 题解列表 2024年03月11日 0 点赞 0 评论 1073 浏览 评分:0.0
python 编写题解 2797: 最高的分数 摘要:参考代码:n = int(input()) grade = map(int, input().split()) print(max(grade))…… 题解列表 2024年03月11日 0 点赞 0 评论 578 浏览 评分:0.0
流感传染(java) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class 流感传染 { public static void main(String[…… 题解列表 2024年03月11日 0 点赞 0 评论 566 浏览 评分:0.0
有点小乱,仅供参考 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int jue(int a){ if(a<0) return -(a); else return a;}void main(){ int…… 题解列表 2024年03月11日 0 点赞 0 评论 533 浏览 评分:0.0
借助数组实现变化,注意下标 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void main(){ const int l; int m,i,to,wei; int sum=0; scanf("%d",&l);…… 题解列表 2024年03月11日 0 点赞 0 评论 464 浏览 评分:0.0
用冒泡排序做的,没有时间超限 摘要:解题思路:注意事项:参考代码:while True: li=list(map(int,input().split())) if li[0]==0: break else…… 题解列表 2024年03月11日 0 点赞 0 评论 428 浏览 评分:0.0
移动路线java 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String[…… 题解列表 2024年03月11日 0 点赞 0 评论 439 浏览 评分:0.0
最大公约数与最小公倍数 摘要:解题思路:最小公倍数=两数相乘再除以最大公约数注意事项:参考代码:#include<stdio.h>int main(){ int a,b,i,min,max; scanf("%d%d",&a,&b)…… 题解列表 2024年03月11日 0 点赞 0 评论 491 浏览 评分:0.0