码迷,mamicode.com
首页 >  
搜索关键字:struct enum    ( 22969个结果
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
Python 导入分部分项前的 数据处理
1、处理前 2、处理后 3、目录结构 4、代码 import os import openpyxl from openpyxl import Workbook from copy import deepcopy # 原文:https://www.cnblogs.com/liuda9495/p/903 ...
分类:编程语言   时间:2020-06-09 12:33:06    阅读次数:85
使用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
MySQL-02-授权及数据类型
1、SQL 1、創建用戶及授權 创建用户 创建用户: create user 'alex'@'192.168.1.1' identified by '123123'; create user 'alex'@'192.168.1.%' identified by '123123'; create us ...
分类:数据库   时间:2020-06-08 10:39:13    阅读次数:57
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
Linux内核源码分析 -- 同步原语 -- 信号量 semaphore
Linux内核源码分析 -- 同步原语 -- 信号量 semaphore 源码位于 include/linux/semaphore struct semaphore { raw_spinlock_t lock; // 保护信号量的自旋锁 unsigned int count; // 现有的资源的数量 ...
分类:系统相关   时间:2020-06-07 19:39:35    阅读次数:105
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!