菲暃要加油——计算平均值 摘要:参考代码:a=list(map(int,input().split()))b=len(a)averange=sum(a)/bl=[]foriina:…… 题解列表 2025年02月12日 0 点赞 1 评论 459 浏览 评分:0.0
计算2的幂pow使用 摘要:解题思路:注意事项:参考代码:a =int(input())print(pow(2, a))…… 题解列表 2025年02月12日 0 点赞 0 评论 160 浏览 评分:0.0
人工智能deepseek最厉害 摘要:解题思路:注意事项:参考代码:import mathimport heapqimport sysdef min_sprinklers(n, L, W, sprinklers):  …… 题解列表 2025年02月12日 1 点赞 0 评论 182 浏览 评分:0.0
python硬解喷水装置 摘要:解题思路:用Python不好写,一直时间超限注意事项:参考代码:def find(lis,n,L,W): ls=sorted(lis,key=lambda x:x[0])&n…… 题解列表 2025年02月12日 1 点赞 0 评论 178 浏览 评分:10.0
二维数组通过枚举求解所有等差数列个数 摘要:1. 问题描述 给出一个整数序列 1 4 2 3 7求其总共的等差数列 这里我给你枚举一下 当n==1时 {1} {4} {2} {3} {7} 共5种情况 对应n当n==2时 {1,4} {1,…… 题解列表 2025年02月11日 0 点赞 0 评论 122 浏览 评分:0.0
注意审题有陷阱,花我那么多时间 摘要:解题思路:注意事项:有可能n>m,如果用for从n到m要换位置,而且输出的时候要注意以输入时的顺序输出参考代码:#include<stdio.h>#include<string…… 题解列表 2025年02月11日 0 点赞 0 评论 178 浏览 评分:0.0
链表之报数问题(作代码记录用,与之前碰到的报数问题解决思想一样,不过是将数组替换为了链表) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>typedef struct…… 题解列表 2025年02月11日 0 点赞 0 评论 150 浏览 评分:0.0
1138: C语言训练-求矩阵的两对角线上的元素之和 摘要:#include #include int main(){ int n,x=0; scanf("%d",&n); int a[n][n]; int i,j; for…… 题解列表 2025年02月11日 2 点赞 0 评论 339 浏览 评分:10.0
C语言训练-求具有abcd=(ab+cd)2性质的四位数 摘要:#include <stdio.h>#include <string.h>int main(){ int x,i; int a[4]; for(i=1000;i<9999…… 题解列表 2025年02月11日 1 点赞 0 评论 139 浏览 评分:10.0
c语言求s=a+aa+aaa+aaaa+aa...a的值 摘要:#include #include int main(){ long long a,n,e=0; scanf("%lld %lld",&a,&n); int i,j; …… 题解列表 2025年02月11日 2 点赞 0 评论 265 浏览 评分:10.0