二级C语言-成绩归类-题解(C++代码) 新思路,思路来源C++primer的用数组把不同分数分类,用数组索引值,和数值的关系 摘要:#include int main() { //判断当前分数是否小于60 //只取0或1,若是1,递进到第二区间 //判断当前分数是否在第二区间 //只取0或1,若是1递进…… 题解列表 2019年11月18日 0 点赞 0 评论 1114 浏览 评分:7.3
汽水瓶-题解(C++代码) 摘要:#include using namespace std; int main() { int a[10]; int b=0; for(int i=0;i>a[i]; if(a[…… 题解列表 2019年11月17日 0 点赞 0 评论 613 浏览 评分:0.0
二级C语言-阶乘公式求职-题解(C++代码) 摘要:#include using namespace std; double fact(int k) { double jch=1; for(int i=1;i>n; double su…… 题解列表 2019年11月17日 0 点赞 0 评论 873 浏览 评分:9.9
二级C语言-成绩归类-题解(C++代码) 摘要:#include using namespace std; int main() { int a[1000];//也可以使用动态数组 int j=0; for(int i=0;;i+…… 题解列表 2019年11月17日 0 点赞 0 评论 820 浏览 评分:6.0
二级C语言-寻找矩阵最值-题解(C++代码) 摘要: ```cpp #include #include using namespace std; int main() { int n; cin>>n; int a[n][…… 题解列表 2019年11月17日 0 点赞 0 评论 1030 浏览 评分:0.0
奖学金-题解(C++代码)(结构体排序做的) 摘要:将学号和各科成绩及总分五项数据项做成一个结构体,对结构体对象进行排序 先写结构体: ```cpp typedef struct { int xuehao; int yuwen; …… 题解列表 2019年11月17日 0 点赞 0 评论 1448 浏览 评分:5.2
各位大神看看我那错了 摘要: #include using namespace std; /* run this program using the console pauser or add your own…… 题解列表 2019年11月17日 0 点赞 0 评论 922 浏览 评分:0.0
[搞比利]题解2030:23.树的中序遍历 (C++代码) 摘要: #include using namespace std; int n,ans; struct node{ int l,m,r,father; }; node fitree[…… 题解列表 2019年11月17日 0 点赞 0 评论 956 浏览 评分:9.9
代码短小精干蓝桥杯2013年第四届真题-公式求值-题解(C++代码) 摘要:```cpp #include #include using namespace std; int main() { int zuhe(int n, int m); int n,…… 题解列表 2019年11月17日 0 点赞 4 评论 2353 浏览 评分:7.3
[搞比利]题解2029:22.获取树的规模 (C++代码) 摘要: #include using namespace std; int n,ans; struct node{ int child[6],n=0,father;}; node fit…… 题解列表 2019年11月16日 0 点赞 2 评论 904 浏览 评分:9.9