C语言之自由下落的距离计算建模是精髓 摘要:#include <stdio.h> #include <stdlib.h> #include <string.h> int main() { int m,n; float…… 题解列表 2024年12月09日 2 点赞 0 评论 1326 浏览 评分:10.0
最简单易懂的解法 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,m[200]; float t[200]; char c[100][100]; …… 题解列表 2024年12月09日 1 点赞 0 评论 687 浏览 评分:10.0
C语言 指针解决问题 练手 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main ( ){ int n=0 ,x=0 ,record=1 ; int a[10500]={0} ; …… 题解列表 2024年12月09日 0 点赞 0 评论 531 浏览 评分:0.0
哥德巴赫曾猜测 摘要:解题思路:isprime 函数用于判断一个整数是否为素数。 首先处理一些特殊情况,如果 n 小于等于 1 则不是素数,如果小于等于 3 则是素数,如果能被 2 或 3 整除也不是素数。 然后通过…… 题解列表 2024年12月09日 0 点赞 0 评论 843 浏览 评分:0.0
翁恺解题思路 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int a,b,c;int max=0;scanf("%d%d%d",&a,&b,&c);if(a>b){if(a…… 题解列表 2024年12月09日 4 点赞 0 评论 1034 浏览 评分:0.0
二级C语言-温度转换 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int a[51];int b[51];int main(){ a[0]=-100; for(int i=0; i<51; …… 题解列表 2024年12月08日 3 点赞 0 评论 915 浏览 评分:0.0
: 二级C语言-分段函数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>double h(double x){ if(x<0) { return fa…… 题解列表 2024年12月08日 0 点赞 0 评论 1018 浏览 评分:0.0
C语言 指针解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main ( ){ int n=0 ; int a[110]={0} ; int *p=a ; …… 题解列表 2024年12月08日 1 点赞 0 评论 807 浏览 评分:10.0
第k极值(C语言) 摘要:解题思路:1. cmp 函数: 这是一个用于比较两个整数大小的比较函数,用于 qsort 函数进行快速排序。它返回两个指针所指向的整数的差值,用于确定排序的顺序。2. f 函数:用于判断一…… 题解列表 2024年12月08日 0 点赞 0 评论 631 浏览 评分:0.0
金明的预算方案 摘要:解题思路:这段代码的详细解释1. Max 函数:这是一个用于比较两个长整型数并返回较大值的函数。2. main 函数:定义了多个长整型数组 w (物品重量)、 v (物品价值)、 z1 、 …… 题解列表 2024年12月08日 0 点赞 0 评论 535 浏览 评分:0.0