码迷,mamicode.com
首页 >  
搜索关键字:struct tm    ( 20030个结果
【PTA】6-1 单链表逆转 (20分)
函数接口定义: 1 List Reverse( List L ); 其中 List结构定义如下: 1 typedef struct Node *PtrToNode; 2 struct Node { 3 ElementType Data; /* 存储结点数据 */ 4 PtrToNode Next; ...
分类:其他好文   时间:2020-06-09 16:24:25    阅读次数:67
GoLang structTag说明
在处理json格式字符串的时候,经常会看到声明struct结构的时候,属性的右侧还有小米点括起来的内容。形如 type User struct { UserId int `json:"user_id" bson:"user_id"` UserName string `json:"user_name" ...
分类:其他好文   时间:2020-06-09 14:58:45    阅读次数:49
golang ---struct tag
golang如何使用struct的tag属性 从一个例子说起 我们经常会碰到下面格式的struct定义: type Person struct { Name string `json:"name"` Age int `json:"age"` } 这个struct定义一个叫做Person的类型,包含两 ...
分类:其他好文   时间:2020-06-09 14:27:48    阅读次数:40
Codeforces Round #648 (Div. 2) A-F题解
比赛时写了两题才想起来第二天口语考试,于是去复习了。惨。还好我本来分就低?(1399->1374) A. Matrix Game 代码: 1 #include <bits/stdc++.h> 2 using namespace std; 3 const int N = 55, M = 1; 4 ty ...
分类:其他好文   时间:2020-06-09 12:55:39    阅读次数:60
C#+NPOI动态库 对Word的简单编辑
public struct PublicationInfor{ public string village; public string fullSite; public string area; public string deadLine; public string publicationTi ...
分类:Windows程序   时间:2020-06-09 12:38:29    阅读次数:134
使用c语言数组创建线性表-链表
链表操作 在c语言里我们通过结构体和数组这两种数据结构构造线性表 创建顺表表-数组静态分配内存 typedef struct { char data[10]; int length; }SqList; bool ListInsert(SqList &L,int i,char e){ for (int ...
分类:编程语言   时间:2020-06-08 19:18:56    阅读次数:101
go语言实现json编码驼峰统一转下划线,下划线统一转驼峰
问题 go默认的结构使用json.Marshal出来是驼峰的,如下 package main import ( "encoding/json" "fmt" ) func main() { type Person struct { LightWeightBaby string } var a = Pe ...
分类:编程语言   时间:2020-06-08 18:53:26    阅读次数:119
LeetCode---排序
#853 车队 https://leetcode-cn.com/problems/car-fleet/ 这题我并没有使用某个排序算法,只是使用了Vector的可自定义sort方法。 class Solution { public: struct Car { int pos; int speed; f ...
分类:编程语言   时间:2020-06-08 12:46:31    阅读次数:48
Linux内核源码分析 -- 同步原语 -- 自旋锁 spinlock
Linux内核源码分析 -- 同步原语 -- 自旋锁 spinlock_t typedef struct spinlock { union { struct raw_spinlock rlock; #ifdef CONFIG_DEBUG_LOCK_ALLOC # define LOCK_PADSIZ ...
分类:系统相关   时间:2020-06-08 00:16:40    阅读次数:138
leetcode 1315. Sum of Nodes with Even-Valued Grandparent
Given a binary tree, return the sum of values of nodes with even-valued grandparent. (A grandparent of a node is the parent of its parent, if it exist ...
分类:其他好文   时间:2020-06-08 00:15:28    阅读次数:76
20030条   上一页 1 ... 83 84 85 86 87 ... 2003 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!