编写题解 1098: 陶陶摘苹果 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,a[10]; for(i=0;i<10;i++) { scanf("…… 题解列表 2023年06月10日 0 点赞 0 评论 434 浏览 评分:0.0
C++ 数据结构-直接插入排序 #C++手撕插排```c++#includeusingnamespacestd;voidSort(int*nums,intn){inti=0,j=0;for(i=1;i=0;--j){if(nums[j]>=x){nums[j+1]=n 题解列表 2023年06月10日 0 点赞 0 评论 787 浏览 评分:0.0
编写题解 2824: 求出e的值 摘要:解题思路:注意事项:参考代码:n=int(input())a=1b=1for i in range(1,n+1): a=a*i c=1/a b=b+c e=b print(f'{e:…… 题解列表 2023年06月11日 0 点赞 0 评论 533 浏览 评分:0.0
2832: 第n小的质数 摘要:解题思路:注意事项:参考代码:def isPrime(su): if su==2: return true if su%2==0: return False …… 题解列表 2023年06月11日 0 点赞 0 评论 565 浏览 评分:0.0
[编程入门]阶乘求和 摘要:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ long long n,Sn=1,a=1; cin>>n; f…… 题解列表 2023年06月11日 0 点赞 0 评论 441 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, m, a[100][100]; while (scanf("%d %d", &m, &n) != …… 题解列表 2023年06月11日 0 点赞 0 评论 518 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, i, j,a[1000],sum=1,max_sum=1,max_num; scanf…… 题解列表 2023年06月11日 0 点赞 0 评论 483 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[501]; gets(str); str…… 题解列表 2023年06月11日 0 点赞 0 评论 575 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,a[20], b[20],i,j,k,sum=0; while (scanf("%d",…… 题解列表 2023年06月11日 0 点赞 0 评论 437 浏览 评分:0.0
求水仙花数 预览,如果感觉基本编辑界面太小太窄也可以使用全屏。**#####插入代码x=y=z=d=0foriinrange(100,1000):x=i//100y=i//10%10z=i%10d=pow(x,3)+pow(y,3)+pow(z,3)ifi==d:print(i)else:pass`` 题解列表 2023年06月11日 0 点赞 0 评论 582 浏览 评分:0.0