递归写法,分子分母拆分成2组斐波那锲数列 摘要:#include<stdio.h> int Fun(int n) { if (n==1) { return 1; } if (n==2) { return 2; …… 题解列表 2023年02月02日 0 点赞 0 评论 493 浏览 评分:0.0
判断一个数能否同时被3和5整除 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int x; scanf("%d",&x); if(x%3==0&&x%5==0) printf("Y…… 题解列表 2023年02月02日 0 点赞 0 评论 475 浏览 评分:0.0
使用选择法排序字符串 ```c#include#includeintmain(){chara[3][100];for(inti=0;i 题解列表 2023年02月02日 0 点赞 0 评论 577 浏览 评分:0.0
python最大配对简单解法 摘要:B=[]n=int(input())A=list(map(int,input().split()))A.sort() #正序排序(小到大)b=list(map(int,input().split()…… 题解列表 2023年02月02日 0 点赞 0 评论 498 浏览 评分:0.0
亲和数(水题) ```c#includelonglongf(intn){longlongi,sum=0;for(i=1;i 题解列表 2023年02月02日 0 点赞 0 评论 525 浏览 评分:0.0
最简单的方法 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#define a 9//定义数组长度 int main (){ int max[a]={0}; int i; for(i=0;i<a…… 题解列表 2023年02月02日 0 点赞 0 评论 454 浏览 评分:0.0
程序员的总统梦 摘要:解题思路:蒙混过关注意事项:我是彩笔,仅限参考参考代码: while True: c = [] a=int(input()) if a==0: break e…… 题解列表 2023年02月02日 0 点赞 0 评论 546 浏览 评分:0.0
编写题解 2841: 大整数加法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int maxmine = 210; int a[maxmine…… 题解列表 2023年02月02日 0 点赞 0 评论 552 浏览 评分:0.0
一个while循环,用了点小技巧,代码的关键就在y=y-m 摘要:#include<stdio.h> int main() { int n = 0; double m = 0, y = 0; scanf("%lf %d", &m, &n); wh…… 题解列表 2023年02月02日 0 点赞 0 评论 432 浏览 评分:0.0
偶数求和(水题) 摘要:```c #include int main(){ int n,m,r,aa,a[100],i,j,k=0,sum=0; while(scanf("%d%d",&n,&m)!=EOF…… 题解列表 2023年02月02日 0 点赞 0 评论 444 浏览 评分:0.0