编写题解 1050: [编程入门]结构体之成绩记录——六行代码 摘要:解题思路:注意事项:参考代码:n = int(input())for i in range(n): l = list(map(str,input().split())) for j in …… 题解列表 2022年04月11日 0 点赞 0 评论 268 浏览 评分:0.0
编写题解 1050: [编程入门]结构体之成绩记录 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;struct student{ string id; string name; int …… 题解列表 2022年03月21日 0 点赞 0 评论 269 浏览 评分:0.0
结构体之成绩记录(Java语言) 摘要:解题思路:注意事项:参考代码:public static class student{ private String No=""; private String Name="";…… 题解列表 2022年03月20日 0 点赞 0 评论 278 浏览 评分:9.9
用函数 简单题解(C语言) 摘要:解题思路:分三部分 ,①结构体定义②输入函数③输出函数注意事项:传入函数时,是指针而非结构体参考代码:#include<stdio.h> struct student_data{ char num[3…… 题解列表 2022年03月18日 0 点赞 0 评论 223 浏览 评分:0.0
1050: [编程入门]结构体之成绩记录 摘要:解题思路:一开始想用class代替struct,但是没想好怎么建对象的数组,就用struct了,实际上用class好像思路也是一样的。注意事项:(1)strcpy()函数要加<cstring>头。(2…… 题解列表 2022年03月07日 0 点赞 0 评论 401 浏览 评分:9.9
编写题解 1050: [编程入门]结构体之成绩记录(C语言简单代码) 摘要:解题思路:注意事项: 结构体数组参考代码:#include<stdio.h>#include<stdlib.h>struct student //声明结构体{ char …… 题解列表 2022年03月03日 0 点赞 0 评论 352 浏览 评分: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 评论 211 浏览 评分:0.0
简明易懂的题解,结构体之成绩记录 摘要:解题思路:注意事项:参考代码:#include#includetypedef struct{ char num[100]; char name[100]; int sub1; int sub2; in…… 题解列表 2022年02月12日 0 点赞 0 评论 229 浏览 评分:0.0
[编程入门]结构体之成绩记录-题解(python代码) 摘要:解题思路: 注意事项:参考代码:n=int(input())lst=[]for i in range(n): s=input() s=s.replace(' ',&#…… 题解列表 2022年01月26日 0 点赞 0 评论 252 浏览 评分:0.0
[编程入门]结构体之成绩记录(C++)STL string,可以体会到struct很像定义类时的变量传入 摘要: ```cpp #include #include using namespace std; struct student{ string id; string …… 题解列表 2022年01月25日 0 点赞 0 评论 251 浏览 评分:0.0