编写题解 1050: [编程入门]结构体之成绩记录(C语言简单代码) 摘要:解题思路:注意事项: 结构体数组参考代码:#include<stdio.h>#include<stdlib.h>struct student //声明结构体{ char …… 题解列表 2022年03月03日 0 点赞 0 评论 302 浏览 评分:0.0
用函数 简单题解(C语言) 摘要:解题思路:分三部分 ,①结构体定义②输入函数③输出函数注意事项:传入函数时,是指针而非结构体参考代码:#include<stdio.h> struct student_data{ char num[3…… 题解列表 2022年03月18日 0 点赞 0 评论 177 浏览 评分:0.0
编写题解 1050: [编程入门]结构体之成绩记录 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;struct student{ string id; string name; int …… 题解列表 2022年03月21日 0 点赞 0 评论 232 浏览 评分:0.0
编写题解 1050: [编程入门]结构体之成绩记录——六行代码 摘要:解题思路:注意事项:参考代码:n = int(input())for i in range(n): l = list(map(str,input().split())) for j in …… 题解列表 2022年04月11日 0 点赞 0 评论 184 浏览 评分:0.0
[编程入门]结构体之成绩记录 题解 摘要:解题思路:这题就是简单的结构体输入输出。注意事项:中间要用“,”分隔开,最后一个科目后不用“,”要换行。参考代码:#include<bits/stdc++.h>using namespace std;…… 题解列表 2022年05月06日 0 点赞 0 评论 143 浏览 评分:0.0
1050:[编程入门]结构体之成绩记录 摘要:```c #include #define Max 100 typedef struct sort{ char id[100]; char name[100]; int score…… 题解列表 2022年05月09日 0 点赞 0 评论 172 浏览 评分:0.0
结构体是什么也没有很理解 摘要:解题思路:第三题才完成我已经快用了一个小时,实在很不熟练而且我看了题解注意事项:参考代码:def inp(): n=int(input()) while (n>0): jl=…… 题解列表 2022年05月24日 0 点赞 0 评论 194 浏览 评分:0.0
1050: [编程入门]结构体之成绩记录 摘要:解题思路:注意事项:#include<stdio.h> struct inf { char num[15]; char name[15]; int a; in…… 题解列表 2022年06月20日 0 点赞 0 评论 110 浏览 评分:0.0
结构体之成绩记录 摘要:解题思路:此处用的结构体数组,将结构体内容定义在主函数外面,这样子函数就能直接操作结构体的变量,分别用赋值函数与打印函数表述出注意事项:参考代码:#include"stdio.h"int n;stru…… 题解列表 2022年06月23日 0 点赞 0 评论 190 浏览 评分:0.0
编写题解 1050: [编程入门]结构体之成绩记录 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>struct lesson{ int s1; …… 题解列表 2022年09月07日 0 点赞 0 评论 176 浏览 评分:0.0