上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 43 下一页
摘要: Ubuntu 16.04引入了一个新的包管理工具 , 用法与 类似. 1. 在终端用 搜索 支持的输入法 All Fcitx related packages start with fcitx , so you will see them when you search fcitx . 2. 找到你 阅读全文
posted @ 2016-09-21 12:39 Pat 阅读(1527) 评论(0) 推荐(0) 编辑
摘要: Q: Is it possible to check which package do I need to install to get certain .sty file from tlmgr rather than googling it or going to CTAN? A: You sho 阅读全文
posted @ 2016-09-18 11:20 Pat 阅读(456) 评论(0) 推荐(0) 编辑
摘要: Classrooms "传送门" The new semester is about to begin, and finding classrooms for orientation activities is always a headache. There are $k$ classrooms 阅读全文
posted @ 2016-09-14 18:12 Pat 阅读(615) 评论(0) 推荐(0) 编辑
摘要: "传送门" time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output ZS the Coder has recently found an 阅读全文
posted @ 2016-09-11 14:48 Pat 阅读(270) 评论(0) 推荐(0) 编辑
摘要: Extraction from The C++ Programming Language 4th. edition, Bjarne Stroustrup 1. [8.1] A is a sequence of elements (called members) of arbitrary types. 阅读全文
posted @ 2016-09-09 17:59 Pat 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 二叉树属于 子节点有序的有根树 . 二叉树的遍历有三种方式: 前序 (pre order) 中序 (in order) 后续 (post order) 这三种遍历方式都是 递归 定义/实现的. 如果给每个节点一个编号, 就可以得到一个节点序列. 常见的问题: 已知前序, 中序, 求后序. 已知后序, 阅读全文
posted @ 2016-09-09 16:13 Pat 阅读(304) 评论(0) 推荐(0) 编辑
摘要: extraction from The C++ Programming Language, 4th. edition, Bjarne Stroustrup 1 . If no initializer is specified, a global, namespace, local , or memb 阅读全文
posted @ 2016-09-09 11:17 Pat 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 分数的和取模 考虑两个分数 $\frac ab, \frac cd$($a,b, c, d\in \mathbb{Z}$,$b,d 0$),正整数 $m$ 和 $b, d$ 都互质。若正整数 $x$ 与 $m$ 互质,用 $x^{ 1}$ 表示 $x$ 在模 $m$ 下的逆元。则有 $ab^{ 1} 阅读全文
posted @ 2016-09-08 16:40 Pat 阅读(318) 评论(0) 推荐(0) 编辑
摘要: "传送门" 时间限制:2 s 内存限制:128 MB DESCRIPTION C国国土辽阔,地大物博......但是最近却在闹蝗灾..... 我们可以把C国国土当成一个W×W的矩阵,你会收到一些诸如(X,Y,Z)的信息,代表(X,Y)这个点增多了Z只蝗虫,而由于C国政府机关比较臃肿,为了批复消灭蝗虫 阅读全文
posted @ 2016-09-06 10:20 Pat 阅读(341) 评论(0) 推荐(0) 编辑
摘要: 这是系统复习动态规划 (Dynamic Programming, DP)的第一篇随笔. 以 "Codeforces 711 C coloring trees" 为例, 总结一下DP的基础知识. time limit per test 2 seconds memory limit per test 2 阅读全文
posted @ 2016-09-04 11:45 Pat 阅读(328) 评论(0) 推荐(0) 编辑
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 43 下一页