#include <stdio.h> #include <stdlib.h> const int N=5; // 定义结构体类型struct student,并定义STU为其别名 typedef struct student { long no; char name[20]; int score; ...
分类:
其他好文 时间:
2019-12-22 00:34:30
阅读次数:
106
要考试了,但是,忍不住想写代码,哪怕不复习要挂科。。。本末倒置了 本来想写一个树,但是,思路有点乱,就像先写一个链表,考完试再说,对于链表,我都是自己看书的,由于前一张结构体理解不够深,踩了好多坑。 所以,学习还是要一步一步,沉心静气来呐。 又看了好些结构体,树的东西,然后,不断试错,调试了一下午, ...
分类:
其他好文 时间:
2019-12-22 00:21:05
阅读次数:
67
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1070 ...
分类:
其他好文 时间:
2019-12-21 22:40:29
阅读次数:
99
Part 1 #include <stdio.h>#include <stdlib.h> const int N=5; // 定义结构体类型struct student,并定义STU为其别名 typedef struct student { long no; char name[20]; int s ...
分类:
其他好文 时间:
2019-12-21 20:49:15
阅读次数:
78
一、代码 1.主函数 #include<stdio.h> #include <stdlib.h> #include <string.h> struct students { //定义结构体 char name[20]; char num[15]; char sex[10]; char Class[1 ...
分类:
编程语言 时间:
2019-12-21 20:22:46
阅读次数:
75
package Services import ( "context" "fmt" "github.com/go-kit/kit/endpoint" ) type UserRequest struct { //封装User请求结构体,包含参数名和方法 Uid int `json:"uid"` Met... ...
分类:
Web程序 时间:
2019-12-21 13:36:19
阅读次数:
98
#include <stdio.h> #include <stdlib.h> const int N=5; // 定义结构体类型struct student,并定义STU为其别名 typedef struct student { long no; char name[20]; int score; ...
分类:
其他好文 时间:
2019-12-21 13:32:45
阅读次数:
57
#include <stdio.h> #include <stdlib.h> const int N=5; // 定义结构体类型struct student,并定义STU为其别名 typedef struct student { long no; char name[20]; int score; ...
分类:
其他好文 时间:
2019-12-21 13:32:00
阅读次数:
55
package main import ( "encoding/json" "fmt" ) type IT1 struct { Company string `json:"company"` Subjects []string `json:"subjects"` IsOk bool `json:"i... ...
分类:
Web程序 时间:
2019-12-21 12:00:13
阅读次数:
91
#include <stdio.h> #include <string.h> const int N=3; // 定义结构体类型struct student,并定义其别名为STU typedef struct student { long int id; char name[20]; float o ...
分类:
其他好文 时间:
2019-12-21 11:54:31
阅读次数:
69