c语言简单,易懂!!! 摘要:解题思路:注意事项:参考代码:#include <stdio.h>double f (int n){ if (n==0||n==1){ return 1; }else { …… 题解列表 2023年09月14日 0 点赞 0 评论 292 浏览 评分:0.0
c语言简单 优解!!! 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int a,b,c; //分别记录人数!!! a=b=c=0; int n; …… 题解列表 2023年09月14日 0 点赞 0 评论 232 浏览 评分:0.0
c语言简单,代码少,易懂!!! 摘要:解题思路:注意事项:该坐标行列元素是从1开始的!!!参考代码:#include <stdio.h>int main (){ int n; int max,max_i,max_j; i…… 题解列表 2023年09月14日 0 点赞 0 评论 177 浏览 评分:0.0
c语言简单易懂!!! 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int ctof(int n){ int s; s=32+n*9/5; return s;}int main (){…… 题解列表 2023年09月14日 0 点赞 0 评论 232 浏览 评分:0.0
二级C语言-自定义函数 递归简单C语言 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>double f(int n){ if (n==0||n==1){ return…… 题解列表 2023年09月14日 0 点赞 0 评论 179 浏览 评分:0.0
统计满足条件的4位数个数 摘要:参考代码: ```c #include int main() { int n,k=0;//k是累计符合条件的数 scanf("%d",&n); int a; for(int i…… 题解列表 2023年09月14日 0 点赞 0 评论 294 浏览 评分:2.0
C语言完数判断代码 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int max;//最大数 int num2[100] = {0};//因素…… 题解列表 2023年09月14日 0 点赞 0 评论 249 浏览 评分:0.0
N以内素数(处理1 2 3 4)(基础) 摘要:解题思路:对1 2 3 4要有特判 否则会漏出循环注意事项: 好好背模板参考代码:#include<iostream> using namespace std; int n; bool pan(…… 题解列表 2023年09月14日 0 点赞 0 评论 206 浏览 评分:9.9
超简单代码 摘要:解题思路:宏定义 a%b得到答案即可注意事项:参考代码:#include<iostream>using namespace std;#define s(a,b) a%b;//宏定义规则int main…… 题解列表 2023年09月14日 0 点赞 0 评论 516 浏览 评分:9.9
自由下落的距离计算 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main() { int m, n; float ret=0.0, tmp=0.0, sum…… 题解列表 2023年09月14日 0 点赞 0 评论 177 浏览 评分:0.0