1915c语言简单解法 摘要:解题思路:先求最大值和最小值,再求中间值注意事项:参考代码: #include<stdio.h> int main(){&n…… 题解列表 2025年11月09日 0 点赞 0 评论 101 浏览 评分:0.0
简单易懂解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main() { int i; &…… 题解列表 2025年11月09日 0 点赞 0 评论 93 浏览 评分:0.0
编写函数解决问题 摘要:解题思路:注意事项:注意整数溢出,可以使用long long int,不要使用pow参考代码:#include<stdio.h>int f(int n){ int i=0; if(n==0…… 题解列表 2025年11月09日 0 点赞 0 评论 129 浏览 评分:0.0
最后要减一个2 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int f(int a){ int sum=0,i=1; while(sum&l…… 题解列表 2025年11月09日 0 点赞 0 评论 124 浏览 评分:0.0
1164的基础解法 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int max(int a[],int n){ int i=0; int x=a[…… 题解列表 2025年11月09日 0 点赞 0 评论 132 浏览 评分:0.0
如何利用二维数组 摘要:#include<stdio.h>int main(){ int a[3][3],x,y; for(x=0;x<3;x++)&nb…… 题解列表 2025年11月09日 0 点赞 0 评论 225 浏览 评分:0.0
多组数据测试选择排序的方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { int N,h; while(~scanf("%d",&N)) { …… 题解列表 2025年11月09日 0 点赞 0 评论 125 浏览 评分:2.0
年龄与疾病的简单计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { int N,h,c1=0,c2=0,c3=0,c4=0; double m1,m2,m3,m4; …… 题解列表 2025年11月09日 0 点赞 0 评论 162 浏览 评分:0.0
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 摘要:参考代码:#include<stdio.h>int main(){ int n,a,b,c,d,i; double x,y; scanf("%d",&n); s…… 题解列表 2025年11月09日 0 点赞 0 评论 141 浏览 评分:0.0
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 摘要:参考代码:#include<stdio.h>#include<math.h>int main(){ int i,n,x,y,p,time; double s,t=0; scan…… 题解列表 2025年11月10日 0 点赞 0 评论 145 浏览 评分:0.0