1173: 计算球体积 题解 摘要:```c #include #include int main() { double r, a = 0; while (scanf("%lf", &r) != EOF) …… 题解列表 2024年08月06日 0 点赞 0 评论 312 浏览 评分:0.0
编写题解 1017: [编程入门]完数的判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int s(int n){ int ans=0; for(int i=1;i<n;i…… 题解列表 2024年08月06日 0 点赞 0 评论 427 浏览 评分:0.0
1680: 数据结构-八进制数 题解 摘要:```c #include #include typedef struct { int date[101]; int top; }stack;//栈 int isempt…… 题解列表 2024年08月07日 0 点赞 0 评论 323 浏览 评分:0.0
编写题解 2907: 不与最大数相同的数字之和 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int N,a[100],sum=0,x=0; …… 题解列表 2024年08月07日 0 点赞 0 评论 233 浏览 评分:0.0
编写题解 2908: 白细胞计数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std; const int N=310; double a[N];in…… 题解列表 2024年08月07日 0 点赞 0 评论 155 浏览 评分:0.0
2899: 蛇形填充数组 摘要:解题思路:注意事项:参考代码:n = int(input())l = [[0 for j in range(n)] for i in range(n)]a = 1b = 0for i in range…… 题解列表 2024年08月07日 0 点赞 0 评论 303 浏览 评分:0.0
用VS来写最大值和最小值之差 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int M; scanf_s("%d", &M); int number[10000]; int i = 0;…… 题解列表 2024年08月07日 0 点赞 0 评论 203 浏览 评分:0.0
1681: 数据结构-行编辑程序(c语言代码,包你懂的) 摘要:此题有两个点要注意,就是空格要不要管,还有多组数据的输入怎么处理 题目的输入是这样的: whil##ilr#e(s#*s) outcha@ putchar(*s=#++);这个输入前面是…… 题解列表 2024年08月07日 0 点赞 0 评论 330 浏览 评分:0.0
数据范围太大,用Python解决,同样的思路c++两个点都过不了 摘要:能过的def solve(a, n): temp = a if a < 0: a = -a stack = [] 题解列表 2024年08月07日 0 点赞 0 评论 91 浏览 评分:0.0
编写题解 1011: [编程入门]最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int min(int a,int b){ return a>b?b:a;}int ma…… 题解列表 2024年08月07日 0 点赞 0 评论 215 浏览 评分:0.0