超简洁代码,结构体之成绩记录 摘要:解题思路:注意事项:参考代码:n = int(input()) # 定义一个空二维列表,用以存放输入数据 my_str = [[]] * n # 输入指定n组数据 for i in range…… 题解列表 2024年05月04日 0 点赞 0 评论 222 浏览 评分:9.9
结构体之成绩记录 简洁易懂 摘要:解题思路:注意事项:参考代码:n = int(input())s = [] # 存放学生记录for i in range(n): s.append(input().split())for i i…… 题解列表 2024年05月19日 0 点赞 0 评论 159 浏览 评分:0.0
C++结构体之成绩记录 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <algorithm>#include<string>#include<vector> using namespa…… 题解列表 2024年05月20日 0 点赞 0 评论 235 浏览 评分:0.0
1050成绩记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>typedef struct student{ char xuehao[20]; char xinming[20]; int a; in…… 题解列表 2024年05月23日 0 点赞 0 评论 120 浏览 评分:0.0
无聊的星期六 摘要:n=int(input()) for i in range(n): x=list(input().split()) print(','.join(str(i) f…… 题解列表 2024年05月25日 0 点赞 0 评论 369 浏览 评分:0.0
编写题解 1050: [编程入门]结构体之成绩记录 摘要:```c #include struct Student{ char num[20]; char name[20]; int scores[3]; }student…… 题解列表 2024年05月27日 0 点赞 0 评论 142 浏览 评分:9.9
编写题解 1050: [编程入门]结构体之成绩记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h> struct a{ char s1[9]; char s2[9]; int a1; int …… 题解列表 2024年06月12日 0 点赞 0 评论 224 浏览 评分:0.0
主打简洁,现有有N个学生的数据记录,每个记录包括学号、姓名、三科成绩 摘要:解题思路:输入,开辟存储空间,输入,输出注意事项:注意struct里的string类型不可以使用malloc开辟,需要new创建,所以结构体这里使用了数组,而不是string;参考代码:#includ…… 题解列表 2024年06月13日 0 点赞 0 评论 337 浏览 评分:9.9
c语言简洁的解题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>main(){ int n,i=0; scanf("%d",&n); struct stu { char id[255]; char…… 题解列表 2024年07月19日 0 点赞 0 评论 206 浏览 评分:9.9
: [编程入门]结构体之成绩记录c程序 摘要:#include<stdio.h>struct dey{ int year; int month; int day; }runnian;int main(){// struct demo run…… 题解列表 2024年07月26日 0 点赞 0 评论 177 浏览 评分:2.0