有规律的数列求和 摘要:解题思路:注意事项:参考代码:#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 评论 380 浏览 评分: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 评论 566 浏览 评分:0.0
编程入门自由下落的距离计算 摘要:解题思路:注意事项:参考代码:#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 评论 461 浏览 评分: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 评论 852 浏览 评分:10.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 评论 397 浏览 评分:0.0
求最大公约数最小公倍数 摘要:解题思路:注意事项:参考代码:#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 评论 424 浏览 评分:0.0
1023: [编程入门]选择排序 冒泡排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10],i,j,temp; for(i=0; i<10; i++){ sc…… 题解列表 2023年11月12日 0 点赞 0 评论 499 浏览 评分:9.9
递归_c++思路简单 摘要:解题思路:很简单自己看能懂注意事项:参考代码:#include<iostream>using namespace std;char arr[50][50];void Display(int size,…… 题解列表 2023年11月12日 0 点赞 0 评论 515 浏览 评分:9.9
我的很简洁 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdbool.h>bool is_prime(int n) { if (n <= 1) { …… 题解列表 2023年11月12日 0 点赞 0 评论 479 浏览 评分:0.0
三个数最大值1002题解(c++) 摘要:#include using namespace std; int main() { int a; int b; int c; cin>>a>>b>>c; if (a>b>c)…… 题解列表 2023年11月12日 0 点赞 0 评论 532 浏览 评分:2.0