编写题解 2904: 谁拿了最多奖学金 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>struct student{ char name[20]…… 题解列表 2022年10月26日 0 点赞 0 评论 311 浏览 评分:0.0
1119: C语言训练-"水仙花数"问题1 摘要:```cpp #include using namespace std; int main() { int num, a, b, c; cin >> num; a…… 题解列表 2022年10月26日 0 点赞 0 评论 361 浏览 评分:0.0
1120: C语言训练-"水仙花数"问题2 摘要:```cpp #include using namespace std; int main() { int num, a, b, c; for ( num = …… 题解列表 2022年10月26日 0 点赞 0 评论 382 浏览 评分:0.0
简单全面的自定义函数题解 摘要:解题思路: 这道题逻辑比较简单,就是涉及到阶乘和指数函数(一个数的n次方)。先写出这两个自定义函数,没有什么难的吧。之后就是对符号的处理了,有两种做法,第一种是判断奇偶数,来看正…… 题解列表 2022年10月26日 0 点赞 0 评论 386 浏览 评分:0.0
阶乘运算!!!!!!! 摘要:解题思路:注意事项: // 尼玛? 只能用 long long类型 或者 unsigned long 这两个类型? double、float 也不行!!!!参考代码:#include<io…… 题解列表 2022年10月26日 0 点赞 0 评论 312 浏览 评分:0.0
自定义函数之字符类型统计 摘要://// Created by Administrator on 2022/10/26.//#include<iostream>#include<algorithm>#include<string>u…… 题解列表 2022年10月26日 0 点赞 0 评论 411 浏览 评分:0.0
1431: 蓝桥杯2014年第五届真题-分糖果 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int N; scanf("%d",&N); int a[N]; fo…… 题解列表 2022年10月26日 0 点赞 0 评论 321 浏览 评分:0.0
二级C语言-自定义函数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>double fact(long long n){ int i; long long m=1…… 题解列表 2022年10月26日 0 点赞 0 评论 272 浏览 评分:0.0
混个经验值 摘要:解题思路:............................注意事项:参考代码:num=eval(input()) a=0 for i in range(2,num): if nu…… 题解列表 2022年10月26日 0 点赞 0 评论 351 浏览 评分:0.0
简单保姆式 题解 摘要:解题思路: 1、先进行排序,先不管重复的数字。这里我使用的是冒泡排序法,让两个相邻的数字比较,如果第一个数比第二个数大,就互换;反之不变。 2、排序完成了,…… 题解列表 2022年10月27日 0 点赞 0 评论 353 浏览 评分:0.0