Codeforces Round #423 (Div. 2, rated, based on VK Cup Finals) C. String Reconstruction 思维,并查集 或 线段树 题意:一个字符串被删除了,但给出 n条信息,要还原出可能的字典序最小的字符串。信息有:字符串ti,k ...
分类:
其他好文 时间:
2017-07-12 23:08:15
阅读次数:
193
CC = gcc CXX = g++ TARGET = process INSTALLDIR = ~/work/ COMMON_PATH := /home/shengkaishan/tmp INCLUDES := -I$(COMMON_PATH)/libev/include -I./ LIBS :=... ...
分类:
其他好文 时间:
2017-07-12 18:55:41
阅读次数:
138
iOS运用runtime全局修改UILabel的默认字体 一、需求背景介绍 在项目比较成熟的基础上,遇到了这样一个需求,应用中需要引入新的字体,需要更换所有Label的默认字体,但是同时,对于一些特殊设置了字体的label又不需要更换。乍看起来,这个问题确实十分棘手,首先项目比较大,一个一个设置所有 ...
分类:
移动开发 时间:
2017-07-12 18:48:20
阅读次数:
300
1:Python安装pyodbc:pip install pyodbc 2:安装unixODBC-2.3.4.tar.gz ./configure make make install 3:下载基于python的MySQL驱动(mysql-connector-odbc-5.3.6-osx10.11-x ...
分类:
数据库 时间:
2017-07-12 15:24:36
阅读次数:
446
执行make 100ask24x0_config用来配置芯片选型,它执行以下一段。 在第82行中,$(SRCTREE)等于$(CURDIR),也就是当前目录u-boot-1.1.6_OpenJTAG,所以MKCONFIG=./mkconfig在第1886~1887行中,$(@:_config=)的结 ...
分类:
其他好文 时间:
2017-07-12 13:53:25
阅读次数:
493
绿色:连读; 红色:略读; 蓝色:浊化; 橙色:弱读 下划线_为浊化 口语蜕变(2017/7/12) 英文原文: Don’t let your dreams be dreams, no matter how bad it is, how hard it gets, say to yourself, ...
分类:
其他好文 时间:
2017-07-12 10:15:28
阅读次数:
224
YCM源码地址:https://github.com/Valloric/YouCompleteMe 安装依赖: 获取源码 安装Momo 安装步骤参照:http://www.mono-project.com/download/#download-lin-ubuntu 安装Go Go下载地址:https ...
分类:
其他好文 时间:
2017-07-12 10:11:34
阅读次数:
305
Eefun Guessing Words Eefun is currently learning to read. His way of learning is unique, by trying to make every possible substring from a given strin ...
分类:
其他好文 时间:
2017-07-12 01:14:55
阅读次数:
109
【Redis】 先安装tcl: yum install tcl [下载和安装] 官网http://redis.io/ 下载最新的稳定版本,这里是3.2.0, 然后解压文件并进入。 $ sudo tar -zxf redis-3.2.0.tar $ cd redis-3.2.0 $ sudo make ...
分类:
Web程序 时间:
2017-07-11 19:34:51
阅读次数:
264
之前说过了关于vector的insert()方法,把vector B的元素插入到vector A中。vector A中的结果我们可想而知,可是vector B中的元素还会怎样? 看看之前写过的程序: #include <iostream> #include <vector> int main () ...
分类:
编程语言 时间:
2017-07-11 15:57:40
阅读次数:
200