1050-结构体之成绩记录 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;struct student{ char num[10]; char name…… 题解列表 2022年10月06日 0 点赞 0 评论 118 浏览 评分:0.0
史上最简洁的题解,看了许多大佬的题解,复杂麻烦,虽然题目要求使用结构体,但完全没有必要 摘要:解题思路:看了许多大佬的题解,复杂麻烦,虽然题目要求使用结构体,但完全没有必要,单单用一个主函数和简洁的几行代码就ok了,能解出题的办法就是好办法。注意事项:本题解的关键就是scanf中利用%s去存储…… 题解列表 2022年10月06日 0 点赞 0 评论 200 浏览 评分:9.9
[编程入门]结构体之成绩记录 摘要:解题思路:(很简单)定义一个结构体,里面定义score【3】数组存放三个变量,外部声明一个结构体数组注意事项:由于"."的运算符的优先级最高,可不用加括号参考代码:#include<stdio.h>s…… 题解列表 2022年09月11日 0 点赞 0 评论 181 浏览 评分:0.0
1050—————— [编程入门]结构体之成绩记录 摘要:**参考了上面大佬的题解** 整合成一行 for i in range(0,int(input())):print(','.join(list(input().split()))) #…… 题解列表 2022年09月08日 0 点赞 0 评论 219 浏览 评分:0.0
编写题解 1050: [编程入门]结构体之成绩记录 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>struct lesson{ int s1; …… 题解列表 2022年09月07日 0 点赞 0 评论 174 浏览 评分:0.0
题目 1050: [编程入门]结构体之成绩记录 摘要:```cpp #include #include using namespace std; int n; struct node { string a, b; in…… 题解列表 2022年08月18日 0 点赞 0 评论 330 浏览 评分:9.9
动态数组指针C语言题解 摘要:解题思路:注意事项:参考代码:#include<malloc.h>typedef struct student{ char num[100]; char name[100]; int…… 题解列表 2022年08月14日 0 点赞 0 评论 203 浏览 评分:9.9
优质题解 [编程入门]结构体之成绩记录 摘要:解题思路:自定义数据类型将不同类型数据组和在一起形成一个新的数据类型Student,然后在主函数中定义一个该类型的数组变量,根据题目要求,主要功能需要自定义函数来实现,所以定义函数input来输入学生…… 题解列表 2022年07月08日 0 点赞 0 评论 2911 浏览 评分:9.0
结构体之成绩记录 摘要:解题思路:此处用的结构体数组,将结构体内容定义在主函数外面,这样子函数就能直接操作结构体的变量,分别用赋值函数与打印函数表述出注意事项:参考代码:#include"stdio.h"int n;stru…… 题解列表 2022年06月23日 0 点赞 0 评论 187 浏览 评分:0.0
1050: [编程入门]结构体之成绩记录 摘要:解题思路:注意事项:参考代码:#include <stdio.h>struct stu{ char num[100]; char name[100]; int score[3];};…… 题解列表 2022年06月20日 0 点赞 1 评论 90 浏览 评分:6.0