匿名函数,C++11的 for_each 用法 ...
分类:
其他好文 时间:
2019-12-17 17:54:01
阅读次数:
73
There are a row of n houses, each house can be painted with one of the three colors: red, blue or green. The cost of painting each house with a certai ...
分类:
其他好文 时间:
2019-12-17 13:32:55
阅读次数:
80
链接: https://codeforces.com/contest/1263/problem/E 题意: The development of a text editor is a hard problem. You need to implement an extra module for br ...
分类:
其他好文 时间:
2019-12-17 13:30:17
阅读次数:
95
Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maxim ...
分类:
其他好文 时间:
2019-12-17 13:28:04
阅读次数:
80
实用等级:★★★★★ 首先,定义一个接口,代表一个领域实体。在定义一个实体集成这个接口,面向接口编程的各种好处就不提了。 之后新建一个T4模板文件。先上代码后面解释下关键的地方 示例源码:T4Demo.rar ...
分类:
其他好文 时间:
2019-12-17 10:37:49
阅读次数:
150
存储引擎 存储引擎:用于根据不同的机制处理不同的数据。 mysql存储引擎: ? innodb:默认存储引擎,支持事务,支持行锁,支持外键 ? myisam:mysql老版本用的存储引擎 ? blackhole:存任何数据进去都会立即消失 ? memory:内存引擎(数据存放在内存中) 查看所有引擎 ...
分类:
数据库 时间:
2019-12-16 22:39:55
阅读次数:
131
N! Given an integer N(0 ≤ N ≤ 10000), your task is to calculate N! Input One N in one line, process to the end of file. Output For each N, output N! i ...
分类:
其他好文 时间:
2019-12-16 22:12:08
阅读次数:
118
A linked list consists of a series of structures, which are not necessarily adjacent in memory. We assume that each structure contains an integer key ...
分类:
其他好文 时间:
2019-12-16 19:26:51
阅读次数:
77
PKU blog about this paper Basic knowledge: 1. what is time-varying graphs? time-varying graph VS static graph. a time-varying graph - an ordered seque ...
分类:
其他好文 时间:
2019-12-16 17:47:55
阅读次数:
92