递归_c++思路简单 摘要:解题思路:很简单自己看能懂注意事项:参考代码:#include<iostream>using namespace std;char arr[50][50];void Display(int size,…… 题解列表 2023年11月12日 0 点赞 0 评论 223 浏览 评分:9.9
1023: [编程入门]选择排序 冒泡排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10],i,j,temp; for(i=0; i<10; i++){ sc…… 题解列表 2023年11月12日 0 点赞 0 评论 183 浏览 评分:9.9
求最大公约数最小公倍数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,m,n,i,j; scanf("%d %d",&a,&b); m=a<b?b:…… 题解列表 2023年11月12日 0 点赞 0 评论 146 浏览 评分:0.0
最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b; scanf("%d %d",&a,&b); int m =(a<b?a:b); while …… 题解列表 2023年11月12日 0 点赞 0 评论 198 浏览 评分:0.0
折半查找! 摘要:#include <stdio.h>int main(){ int a[1000],b[1000]; int left,right,mid; int n,k,x,i;scanf("%d%d"…… 题解列表 2023年11月12日 0 点赞 0 评论 461 浏览 评分:9.9
编程入门自由下落的距离计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,N; float M,H=0,S=0; scanf("%f %d",&M,&N…… 题解列表 2023年11月12日 0 点赞 0 评论 149 浏览 评分:0.0
自由下落的距离计算 摘要:解题思路:每次经过的路程均为高度的3倍注意事项:参考代码:m,n=map(int,input().split())c=0for i in range(1,n+1): m=m/2 c+=3*…… 题解列表 2023年11月12日 0 点赞 0 评论 266 浏览 评分:0.0
有规律的数列求和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i; float a=1.0,b=2.0,j=b/a,t,sum=0; scanf…… 题解列表 2023年11月12日 0 点赞 0 评论 138 浏览 评分:0.0
题解 [编程基础]输入输出练习之输出图案 摘要:解题思路:首先用“char”类型定义一个变量,再输入,再输出就可以了注意事项:要用char类型定义变量参考代码:#include <bits/stdc++.h>using namespace std;…… 题解列表 2023年11月12日 0 点赞 0 评论 364 浏览 评分:9.9
【Python】如何一行解决这道题 摘要:解题思路:普通的思路注意事项:没什么注意的参考代码:print(sum(list(map(int, [i*'2' for i in range(1,int(input())+1)]))…… 题解列表 2023年11月12日 1 点赞 4 评论 679 浏览 评分:10.0