无需指针 无需指针 无需指针 最最最简单易懂的解题思路!!! 摘要:解题思路:根据题目要求,需要输n个学生的各项数据,且需要定义一个结构体包含学生的各项数据。那我们可以将一个学生的各项数据作为一个整体,n个学生的话就需要n个整体,所以我们就可以定义一个结构体数组,每个…… 题解列表 2023年11月30日 0 点赞 0 评论 312 浏览 评分:0.0
三个数字的排序 摘要:解题思路:根据“三个数找最大值”进行细化注意事项:参考代码:#include <stdio.h>int main(){ int a, b, c; scanf("%d%d%d", &a, &b, &c)…… 题解列表 2023年11月30日 0 点赞 0 评论 191 浏览 评分:0.0
c代码记录之选择排序--指针练习 摘要: #include int main(){ int num[10],i,j,min,middle; //建立10个长度的整型数组 …… 题解列表 2023年11月30日 0 点赞 0 评论 309 浏览 评分:0.0
计算球体积,认识EOF 摘要:解题思路:注意事项:EOF是End Of File的意思,表示文件结束,无可读取参考代码:#include<stdio.h>#include<math.h>#define PI 3.14159int …… 题解列表 2023年11月30日 0 点赞 0 评论 337 浏览 评分:0.0
2937 短信收费 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,m,t=0; int a[1005]; int b[1005]; scanf("%d",&n); f…… 题解列表 2023年11月30日 0 点赞 0 评论 322 浏览 评分:0.0
]字符串分类统计 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[200]; gets(a); int i,zimu=0,shuzi=0,kong…… 题解列表 2023年11月30日 0 点赞 0 评论 213 浏览 评分:0.0
自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void dx_print(char a[],int n){ int i=0; for(i=n-1;i>=0;i--) …… 题解列表 2023年11月30日 0 点赞 0 评论 208 浏览 评分:0.0
自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void str_cat(char a[],char b[]){ strcat(a,b); …… 题解列表 2023年11月30日 0 点赞 0 评论 220 浏览 评分:0.0
[编程入门]结构体之成绩记录 摘要:解题思路:注意事项:参考代码:class Student(): def input(self, student_id, name, score): self.student…… 题解列表 2023年11月30日 1 点赞 0 评论 237 浏览 评分:0.0
[编程入门]结构体之成绩统计 屎山代码 只会语法 摘要:解题思路:注意事项:参考代码:class Student: def input(self, student_id, name, score): self.student_i…… 题解列表 2023年12月01日 0 点赞 0 评论 287 浏览 评分:0.0