C语言训练-谁家孩子跑最慢* ```cpp#includeusingnamespacestd;intmain(){inta,b,c,d,i,j,k;for(a=1;ad){if(a==1||b==1)cout 题解列表 2023年02月01日 0 点赞 0 评论 572 浏览 评分:0.0
ikun崩溃代码 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ double t; scanf("%lf",&t); if (t<=20){ printf("%.2lf",…… 题解列表 2023年02月01日 0 点赞 0 评论 384 浏览 评分:0.0
再多看一眼就会爆炸 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ char a; scanf("%c",&a); if(a%2>0){ printf(…… 题解列表 2023年02月01日 0 点赞 0 评论 515 浏览 评分:0.0
1127基础解法(Python) 解题思路:可以用数学原理,也可以当做找规律注意事项:参考代码:n=int(input())cubic=pow(n,3)square=pow(n,2)ifsquare%2==0:i=nlst=[iforiinrange(square-i+1,square+i, 题解列表 2023年02月01日 0 点赞 0 评论 499 浏览 评分:0.0
递归写法,新手尝试,欢迎优化 摘要:#include<stdio.h> #include<math.h> int Fun(int x) { while (x > 0) { return 2 * ((int)pow(1…… 题解列表 2023年02月01日 0 点赞 0 评论 408 浏览 评分:0.0
结构体之时间设计C语言 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>struct date{ int year; int month; int d…… 题解列表 2023年02月02日 0 点赞 0 评论 470 浏览 评分:0.0
递归写法,分子分母拆分成2组斐波那锲数列 摘要:#include<stdio.h> int Fun(int n) { if (n==1) { return 1; } if (n==2) { return 2; …… 题解列表 2023年02月02日 0 点赞 0 评论 494 浏览 评分: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 评论 579 浏览 评分: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