编写题解 1050: [编程入门]结构体之成绩记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h> struct a{ char s1[9]; char s2[9]; int a1; int …… 题解列表 2024年06月12日 0 点赞 0 评论 291 浏览 评分:0.0
编写题解 1050: [编程入门]结构体之成绩记录 摘要:```c #include struct Student{ char num[20]; char name[20]; int scores[3]; }student…… 题解列表 2024年05月27日 0 点赞 0 评论 194 浏览 评分:9.9
无聊的星期六 摘要:n=int(input()) for i in range(n): x=list(input().split()) print(','.join(str(i) f…… 题解列表 2024年05月25日 0 点赞 0 评论 432 浏览 评分:0.0
1050成绩记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>typedef struct student{ char xuehao[20]; char xinming[20]; int a; in…… 题解列表 2024年05月23日 0 点赞 0 评论 152 浏览 评分:0.0
C++结构体之成绩记录 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <algorithm>#include<string>#include<vector> using namespa…… 题解列表 2024年05月20日 0 点赞 0 评论 290 浏览 评分:0.0
结构体之成绩记录 简洁易懂 摘要:解题思路:注意事项:参考代码:n = int(input())s = [] # 存放学生记录for i in range(n): s.append(input().split())for i i…… 题解列表 2024年05月19日 0 点赞 0 评论 213 浏览 评分:0.0
超简洁代码,结构体之成绩记录 摘要:解题思路:注意事项:参考代码:n = int(input()) # 定义一个空二维列表,用以存放输入数据 my_str = [[]] * n # 输入指定n组数据 for i in range…… 题解列表 2024年05月04日 0 点赞 0 评论 386 浏览 评分:9.9
1050: [编程入门]结构体之成绩记录 摘要:解题思路:注意事项:参考代码:n = int(input()) arr = [] [arr.append(list(map(str, input().split()))) for _ in ran…… 题解列表 2024年04月27日 0 点赞 0 评论 201 浏览 评分:0.0
1050: [编程入门]结构体之成绩记录 摘要:解题思路:首先定义了一个结构体rec,包含学生的学号、姓名和三个成绩。然后定义了两个函数input和print,分别用于输入和输出学生信息。在main函数中,首先定义了一个结构体数组stu,用于存储学…… 题解列表 2024年04月07日 0 点赞 0 评论 317 浏览 评分:0.0
结构体之成绩记录(指针) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>typedef struct stu{ char num[20]; char name[…… 题解列表 2024年04月05日 0 点赞 0 评论 170 浏览 评分:0.0