简单解题法2 摘要:解题思路:注意事项:参考代码:#include<stdio.h> struct xinxi { /*定义结构体*/ char xuehao[1…… 题解列表 2021年11月12日 0 点赞 0 评论 550 浏览 评分:0.0
[编程入门]结构体之成绩记录--------(Python) ```pythonn=int(input())t=[]classsun1:definput():s=list(map(str,input().split()))t.append(s)defprint():foriint:print(",".join(i))q=sun1foriinrange(n):q. 题解列表 2021年11月17日 0 点赞 0 评论 611 浏览 评分:0.0
1050: [编程入门]结构体之成绩记录 摘要:import java.io.*; /** * 注意不能前面用 cin.nextToken() 后面用 in.readline(),用 in.readline() 必须从头用到尾,否则会阻塞…… 题解列表 2021年12月11日 0 点赞 0 评论 677 浏览 评分:0.0
结构体之成绩记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct student{ char sno[100]; char name[100]; int gread[3];};void i…… 题解列表 2022年01月04日 0 点赞 0 评论 529 浏览 评分:0.0
结构体之成绩记录(这大概是最不用动脑子的答案了) ```c#includetypedefstructstudent{charid[100];charname[100];intmark1;intmark2;intmark3;}st;intinput(st*a){scanf("%s%s%d%d%d", 题解列表 2022年01月16日 0 点赞 0 评论 726 浏览 评分:0.0
结构体之成绩记录 摘要:#include<stdio.h>#include<stdlib.h>#include<string.h>struct infor{char num[100];char name[100];int m…… 题解列表 2022年01月17日 0 点赞 0 评论 621 浏览 评分:0.0
[编程入门]结构体之成绩记录(C++)STL string,可以体会到struct很像定义类时的变量传入 ```cpp#include#includeusingnamespacestd;structstudent{stringid;stringname;intChinese;intMath;intEnglish;};studentinput(studentstu, 题解列表 2022年01月25日 0 点赞 0 评论 544 浏览 评分:0.0
[编程入门]结构体之成绩记录-题解(python代码) 摘要:解题思路: 注意事项:参考代码:n=int(input())lst=[]for i in range(n): s=input() s=s.replace(' ',&#…… 题解列表 2022年01月26日 0 点赞 0 评论 600 浏览 评分:0.0
简明易懂的题解,结构体之成绩记录 解题思路:注意事项:参考代码:#include#includetypedefstruct{charnum[100];charname[100];intsub1;intsub2;intsub3;}gra;//这个结构typedef为gra。gra*p;//这个指针做全局变量方便free,后面会细说。 题解列表 2022年02月12日 0 点赞 0 评论 500 浏览 评分:0.0
1050: [编程入门]结构体之成绩记录 摘要:解题思路:注意事项:参考代码:n = eval(input())s = []for i in range(n): s.append(input())for i in s: l = '…… 题解列表 2022年02月22日 0 点赞 0 评论 481 浏览 评分:0.0