编写题解 1014: [编程入门]阶乘求和 摘要:解题思路:注意事项:参考代码: int res; int n; int k; scanf("%d",k); res = 0, 题解列表 2022年11月16日 0 点赞 0 评论 194 浏览 评分:0.0
编写题解 1151: C语言训练-计算一个整数N的阶乘 摘要:解题思路:注意事项:参考代码: int n; long res; res = 1; scanf("%d", &n); for (int i =&n 题解列表 2022年11月16日 0 点赞 0 评论 209 浏览 评分:0.0
C语言 自定义函数之字符串连接& 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#define Long 20int main(){ char a[Long]; …… 题解列表 2022年11月16日 0 点赞 0 评论 270 浏览 评分:0.0
2206: 素数求和 摘要: #include using namespace std; inline int ss_(int a);//内联函数减少运行时间 int main() …… 题解列表 2022年11月16日 0 点赞 0 评论 421 浏览 评分:0.0
分段函数 二级C语言 摘要:解题思路: 注意事项:保留两位,double类型。用到平方根函数sqrt()、绝对值函数fabs()、幂函数pow()。参考代码:#include<stdio.h> #include<math.h>…… 题解列表 2022年11月17日 0 点赞 0 评论 286 浏览 评分:0.0
汪汪和打针 摘要:解题思路:注意事项:有点漏洞,不过可以过这题参考代码:#include<iostream>using namespace std;int m = 120, l = 100;///定义疫苗的价钱int …… 题解列表 2022年11月17日 0 点赞 0 评论 305 浏览 评分:0.0
输入输出练习之输出图案 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ char a; cin >> a; for (int…… 题解列表 2022年11月17日 0 点赞 0 评论 329 浏览 评分:0.0
[编程入门]求和训练题解(C语言) 摘要:解题思路:注意事项:参考代码:#includeint main() { int a,b,c; //定义题目所给3个变量 float Sa,Sb,Sc; …… 题解列表 2022年11月17日 0 点赞 0 评论 260 浏览 评分:0.0
C语言 自定义函数之字符类型统计& 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#define Long 40int main(){ void scanf_s…… 题解列表 2022年11月17日 0 点赞 0 评论 287 浏览 评分:0.0
2901: 查找特定的值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,m; scanf("%d",&n);//输入 int arr[10001]={0}…… 题解列表 2022年11月17日 0 点赞 0 评论 319 浏览 评分:0.0