题目 1050: [编程入门]结构体之成绩记录 摘要:```cpp #include #include using namespace std; int n; struct node { string a, b; in…… 题解列表 2022年08月18日 0 点赞 0 评论 386 浏览 评分:9.9
史上最简洁的题解,看了许多大佬的题解,复杂麻烦,虽然题目要求使用结构体,但完全没有必要 摘要:解题思路:看了许多大佬的题解,复杂麻烦,虽然题目要求使用结构体,但完全没有必要,单单用一个主函数和简洁的几行代码就ok了,能解出题的办法就是好办法。注意事项:本题解的关键就是scanf中利用%s去存储…… 题解列表 2022年10月06日 0 点赞 0 评论 276 浏览 评分:9.9
结构体之成绩记录 摘要:解题思路:input()和print()要传入次数N和结构体*stu或者syu[];若结构体定义的全局变量,则不需要传入结构体注意事项:参考代码:#include <iostream>using na…… 题解列表 2022年10月22日 0 点赞 0 评论 193 浏览 评分:9.9
用结构体求解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>//#define NUM 2typedef struct { char number[10]; char name[1…… 题解列表 2022年10月27日 0 点赞 0 评论 179 浏览 评分:9.9
1050: [编程入门]结构体之成绩记录 摘要:```cpp #include struct student{ char id[100]; char name[100]; int score[3]; }s; void input…… 题解列表 2022年12月06日 0 点赞 0 评论 226 浏览 评分:9.9
C++代码(结构体的运用) 摘要:###### 解题思路: 建立一个结构体,包含三个数据:学号,姓名,成绩。 通过函数input进行数据的输入。 通过函数print进行输出。 ```cpp #include #inc…… 题解列表 2023年01月07日 0 点赞 0 评论 278 浏览 评分:9.9
1050: [编程入门]结构体之成绩记录 摘要:```cpp #include using namespace std; struct Student { string num,name; int Math,Engl…… 题解列表 2023年02月24日 0 点赞 1 评论 163 浏览 评分:9.9
1050: [编程入门]结构体之成绩记录——Ccp 摘要:解题思路:注意事项:参考代码:#include <stdio.h>struct stu{ char num[100]; char name[100]; int score[3];};…… 题解列表 2023年03月07日 0 点赞 0 评论 192 浏览 评分:9.9
[编程入门]结构体之成绩记录 摘要:```cpp #include using namespace std; class student { public: string number; strin…… 题解列表 2023年03月20日 0 点赞 0 评论 209 浏览 评分:9.9
1050: [编程入门]结构体之成绩记录 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<string> using namespace std; //创建学生结构体 struct Student…… 题解列表 2023年09月24日 0 点赞 0 评论 135 浏览 评分:9.9