public static void ExportWord(string tempFilePath, string outPath, Dictionary data, Dictionary imageList) { using (FileStream stream = File.OpenRead(t... ...
分类:
其他好文 时间:
2019-09-16 19:16:25
阅读次数:
119
题目链接: http://codeforces.com/gym/101161/attachments 题意: 给一个可以变化的字典树 在字典树上删边 如果某条边和根节点不连通那么这条边也删除 谁没得删就输了 数据范围: $1\leq n \leq 100000$ $1\leq q \leq 1000 ...
分类:
其他好文 时间:
2019-09-11 20:04:27
阅读次数:
67
Python3 基本数据类型 标准数据类型 Python3 中有六个标准的数据类型: Number(数字) String(字符串) List(列表) Tuple(元组) Set(集合) Dictionary(字典) Python3 的六个标准数据类型中: 不可变数据(3 个): Number(数字) ...
分类:
编程语言 时间:
2019-09-03 00:11:27
阅读次数:
135
在C#中,数组由于是固定长度的,所以常常不能满足我们开发的需求。 由于这种限制不方便,所以出现了ArrayList。 ArrayList、List<T> ArrayList是可变长数组,你可以将任意多的数据Add到ArrayList里面。其内部维护的数组,当长度不足时,会自动扩容为原来的两倍。 但是 ...
Redis是什么? Redis (REmote DIctionary Server)是一个开源(BSD许可),内存存储的数据结构服务器,可用作数据库,高速缓存和消息队列,是一个高性能的key value数据库。 Redis与其他key value缓存产品有以下三个特点: Redis支持数据的持久化, ...
分类:
其他好文 时间:
2019-08-28 01:14:31
阅读次数:
56
一、 (1)实用在线词典推荐 剑桥(中英/英英)https://dictionary.cambridge.org/dictionary/牛津(英英,可以查找同义词)https://en.oxforddictionaries.com/definition/on_earth朗文(英英)https://w ...
分类:
其他好文 时间:
2019-08-26 12:49:21
阅读次数:
119
原题链接在这里:https://leetcode.com/problems/longest-word-in-dictionary-through-deleting/ 题目: Given a string and a string dictionary, find the longest string ...
分类:
其他好文 时间:
2019-08-24 09:18:56
阅读次数:
76
第1章 redis存储系统 1.1 redis概述 REmote DIctionary Server(Redis)是一个基于key-value键值对的持久化数据库存储系统。redis和大名鼎鼎的Memcached缓存服务软件很像,但是redis支持的数据存储类型比memcached更丰富,包括str ...
分类:
数据库 时间:
2019-08-22 23:56:55
阅读次数:
202
dict、set dict:Python内置了字典:dict的支持,dict全称dictionary,在其他语言中也称为map,使用键 值(key value)存储,具有极快的查找速度。 语法: 键:值,键:值 实例: 运行结果: 获取值的方法 通过键获取值: 实例: 运行结果: 通过get键获取值 ...
分类:
编程语言 时间:
2019-08-19 22:45:00
阅读次数:
98