2809:斐波那契数列 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include <math.h>int main(){ int k,f1=1,f2=1,f3; scanf(&…… 题解列表 2025年11月13日 1 点赞 0 评论 423 浏览 评分:0.0
简单易懂求奇偶和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,j,o,a=0,b=0; scanf("%d",&n); f…… 题解列表 2025年11月13日 2 点赞 0 评论 255 浏览 评分:0.0
寻找矩阵的最值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define NUM 200int MAX(int arr[][NUM],int n){ int max = arr[0]…… 题解列表 2025年11月13日 0 点赞 0 评论 276 浏览 评分:0.0
初学py,注意输入的问题 摘要:解题思路:注意事项:参考代码:res=float(input())a=input().strip()b=input().…… 题解列表 2025年11月15日 0 点赞 0 评论 247 浏览 评分:0.0
2240:删除数组零元素 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int num[1000]={};int CompactIntegers(int n,int arr[1000]);int …… 题解列表 2025年11月17日 0 点赞 0 评论 155 浏览 评分:0.0
双for循环在用%e直接就秒了, 摘要:解题思路:注意事项:参考代码:#include<stdio.h>double sum_of=0;//代表和double number;int main(){ &nb…… 题解列表 2025年11月17日 0 点赞 0 评论 269 浏览 评分:0.0
经典的选择排序算法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define N 10int main() { int a[N],i,j,k,temp;&nbs…… 题解列表 2025年11月17日 1 点赞 0 评论 630 浏览 评分:0.0
需要注意转置的条件 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define N 3int main() { int a[N][N],i,j,temp;&nbs…… 题解列表 2025年11月17日 1 点赞 0 评论 512 浏览 评分:0.0
在数组中找到两个数相加等于给定的数 摘要:解题思路:注意事项:注意避免数对是两个相同的数参考代码:#include<stdio.h>int main(){ long long n; scanf("%lld",&…… 题解列表 2025年11月17日 0 点赞 0 评论 175 浏览 评分:0.0
有注析,还是比较好理解的 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int n;double fact(int k);double sum_of = 1.0; // 初始化为1,包…… 题解列表 2025年11月18日 0 点赞 0 评论 203 浏览 评分:0.0