[编程入门]结构体之成绩统计2-题解(C++代码) 如果有问题欢迎在评论区指出哦~! 摘要:```cpp #include #define N 100 struct student { char a[100]; char b[100]; int c1,c2,c3; …… 题解列表 2019年10月28日 0 点赞 1 评论 630 浏览 评分:0.0
优质题解 蓝桥杯基础练习VIP-阶乘计算-题解(C++代码) 摘要: **在这里我把每一个n称为循环数** | 循环数 | 结果 | | ------------ | ------------ | | 1 | 1 | | 2 | 2 | |…… 题解列表 2019年10月27日 0 点赞 3 评论 1191 浏览 评分:9.1
16.求逆序对个数-题解(C++代码)(由于楼上代码存在超出限制的情况,特此写如下代码,帮助同学们解决往后学习的道路) 摘要:```cpp #include #include #include #include #include #include #include #include #include #…… 题解列表 2019年10月26日 0 点赞 0 评论 1072 浏览 评分:9.9
拆分位数-题解(C++代码) 摘要:##### 解题思路: 1.要将输入的一个数字进行逆序输出 ,我们先要对输入的数字 “取余10” 得到它的末位 ,之后 “除以10” 再 “取余10” 得到第二的末位数字 ,以此类推得到它的逆序数字…… 题解列表 2019年10月26日 0 点赞 0 评论 893 浏览 评分:7.8
蓝桥杯2014年第五届真题-兰顿蚂蚁-题解(C++代码) 思路简单 摘要:#### 原题链接:[兰顿蚂蚁](https://www.dotcpp.com/oj/problem1429.html) #### 解题思路 1. 首先是数据的读取问题,用常量及数组即可,这里…… 题解列表 2019年10月25日 0 点赞 1 评论 1411 浏览 评分:9.9
[编程入门]自定义函数处理最大公约数与最小公倍数 (C++代码) 摘要:#include #include #include using namespace std; int a(int n,int m) //求最大公因数的函数我叫他a { if(n>…… 题解列表 2019年10月25日 0 点赞 1 评论 1958 浏览 评分:9.9
[编程入门]结构体之时间设计-题解(C++代码)简单易懂哦! 摘要: #include struct t { int year; int mouth; int date; }; int f(struct t a); int main() { …… 题解列表 2019年10月24日 0 点赞 3 评论 1277 浏览 评分:9.4
明明的随机数-题解(C++代码)-----新手级别 摘要:#include #include using namespace std; int main() { int n; cin>>n; int a[n]; for(int i=0…… 题解列表 2019年10月23日 0 点赞 0 评论 1064 浏览 评分:9.9
只考虑对角线 1115题-DNA-题解(C++代码) 摘要:###因为数据范围较小我们只需要开一个矩阵,只考虑主对角线和次对角线就行了,除了第一行之外去掉第一行输出。 ```cpp #include #include #include using n…… 题解列表 2019年10月22日 0 点赞 0 评论 778 浏览 评分:0.0
蓝桥杯基础练习VIP-龟兔赛跑预测-题解(C++代码) 摘要:这道题不需要添加时间作为变量,直接用乌龟行走的时间代替时间变量,会更加简便 ```cpp #include using namespace std; int main() { int…… 题解列表 2019年10月22日 0 点赞 0 评论 762 浏览 评分:9.9