1.Combinations Counting(组合计数) 说明:我们有一个组合的例子——从给定的集合中选择几个元素的不同方法(不考虑顺序)。例如,如果这个男孩有4个糖果(不同种类的糖果),并且只取其中的2个,剩下的给他的妹妹,他有以下几种选择: N的集合中有多少K元素的组合(假设所有N个元素都是不 ...
分类:
编程语言 时间:
2017-08-19 20:14:02
阅读次数:
163
A. Generous Kefa One day Kefa found n baloons. For convenience, we denote color of i-th baloon as si — lowercase letter of the Latin alphabet. Also Ke ...
分类:
其他好文 时间:
2017-08-19 17:08:19
阅读次数:
225
John never knew he had a grand-uncle, until he received the notary's letter. He learned that his late grand-uncle had gathered a lot of money, somewhe ...
分类:
其他好文 时间:
2017-08-19 11:05:19
阅读次数:
165
John never knew he had a grand-uncle, until he received the notary's letter. He learned that his late grand-uncle had gathered a lot of money, somewhe ...
分类:
其他好文 时间:
2017-08-16 21:47:50
阅读次数:
170
John never knew he had a grand-uncle, until he received the notary's letter. He learned that his late grand-uncle had gathered a lot of money, somewhe ...
分类:
其他好文 时间:
2017-08-16 21:41:59
阅读次数:
190
1. 在深度学习中,涉及到大量矩阵相乘,现在需要计算三个稠密矩阵A,B,C的乘积ABC,假设三个矩阵的尺寸分别为m*n,n*p,p*q,且m<n<p<q,以下计算顺序效率最高的是: (AB)C 解析:首先,根据简单的矩阵知识,因为 A*B , A 的列数必须和 B 的行数相等。因此,可以排除C 选项 ...
分类:
其他好文 时间:
2017-08-15 23:34:54
阅读次数:
437
这节课难度超级大啊,基本上都是省选+NOI的题。 例1: 1801: [Ahoi2009]chess 中国象棋 Time Limit: 10 Sec Memory Limit: 64 MB Submit: 1868 Solved: 1075 [Submit][Status][Discuss] Des ...
分类:
其他好文 时间:
2017-08-13 00:04:34
阅读次数:
179
一、代码下载 代码下载地址 二、实例效果展示 三、实例项目简单介绍 这个实例主要是封装sqlite3数据库工具,并用这个工具实现记录、删除、改动、查询学生信息的功能。另外一个附属的功能就是依据学生的姓名首字母分组并加入索引。 对于数据库。我做了两层封装。第一层是对数据库的基本操作进行抽象。第二层是对 ...
分类:
移动开发 时间:
2017-08-12 10:09:12
阅读次数:
324
Description The French author Georges Perec (1936–1982) once wrote a book, La disparition, without the letter 'e'. He was a member of the Oulipo group ...
分类:
其他好文 时间:
2017-08-11 13:40:39
阅读次数:
161
Description You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be fille ...
分类:
其他好文 时间:
2017-08-11 10:59:47
阅读次数:
154