08 2016 档案

摘要:(留坑待填) Extraction from the C++ Programming Language 4th. ed., Bjarne Stroustrup 31.3.3 Size and Capacity The size is the number of elements in the con 阅读全文
posted @ 2016-08-29 22:25 Pat 阅读(194) 评论(0) 推荐(0) 编辑
摘要:extraction from The C++ Programming Language 4th. ed., Section 7.7 References, Bjarne Stroustrup To reflect the lvalue/rvalue and const/non-const dist 阅读全文
posted @ 2016-08-29 16:47 Pat 阅读(356) 评论(0) 推荐(0) 编辑
摘要:传送门 题目大意 给定文本串S和若干模式串{T}, 对每个模式串T, 询问T是否为S的子串. Solution 裸的AC自动机, 也可以用后缀数组做. P.S. 这题数据很弱, 朴素的字符串匹配也能过. Pitfalls 模式串有重复的. 这样, 在建TRIE时就不能直接对每 阅读全文
posted @ 2016-08-29 03:13 Pat 阅读(386) 评论(0) 推荐(0) 编辑
摘要:Data structures A data structure is a way to store and organize data in order to facilitate access and modifications. Loop invariants We use loop inva 阅读全文
posted @ 2016-08-28 00:58 Pat 阅读(150) 评论(0) 推荐(0) 编辑
摘要:传送门 时间限制:18000ms单点时限:2000ms内存限制:512MB描述小h拥有n位朋友。每位朋友拥有一个数值Vi代表他与小h的亲密度。亲密度有可能发生变化。岁月流逝,小h的朋友们形成了一种稳定的树状关系。每位朋友恰好对应树上的一个节点。每次小h想请两位朋友一起聚餐,他都必须把连接两 阅读全文
posted @ 2016-08-27 22:07 Pat 阅读(279) 评论(0) 推荐(0) 编辑
摘要:How do I use software from a PPA? To start installing and using software from a Personal Package Archive, you first need to tell Ubuntu where to find 阅读全文
posted @ 2016-08-23 04:31 Pat 阅读(385) 评论(0) 推荐(0) 编辑
摘要:Extraction from C++ Primer 5th. Editioin 3.2.1 C++ has several different forms of initialization, we should understand how these forms differ from one 阅读全文
posted @ 2016-08-20 23:59 Pat 阅读(250) 评论(0) 推荐(0) 编辑
摘要:Extraction from C++ primer 5th Edition 7.1.2 The purpose of the const that follows the parameter list of an ordinary member function is to modify the 阅读全文
posted @ 2016-08-20 21:38 Pat 阅读(366) 评论(0) 推荐(0) 编辑
摘要:传送门 To the moon Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Problem Description Background To The Moon is a indep 阅读全文
posted @ 2016-08-16 16:28 Pat 阅读(558) 评论(0) 推荐(0) 编辑
摘要:传送门 Tree Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 102400/102400 K (Java/Others) Problem Description Zero and One are good friends who alw 阅读全文
posted @ 2016-08-15 17:09 Pat 阅读(341) 评论(0) 推荐(0) 编辑
摘要:Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Problem Description Hearthstone is an online collectible card game fr 阅读全文
posted @ 2016-08-09 18:30 Pat 阅读(532) 评论(0) 推荐(0) 编辑
摘要:时间限制:10000ms单点时限:1000ms内存限制:256MB描述给定一个包含 N 个整数的数组 A 。你的任务是将 A 重新排列,使得任意两个相等的整数在数组中都不相邻。 如果存在多个重排后的数组满足条件,输出字典序最小的数组。 这里字典序最小指:首先尽量使第一个整数最小,其次使第 阅读全文
posted @ 2016-08-07 23:28 Pat 阅读(406) 评论(0) 推荐(0) 编辑
摘要:传送门 GCD Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Problem DescriptionGive you a sequence of N(N100,000) int 阅读全文
posted @ 2016-08-05 21:19 Pat 阅读(188) 评论(0) 推荐(0) 编辑
摘要:传送门 Windows 10 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 694 Accepted Submission(s): 200 Pr 阅读全文
posted @ 2016-08-05 11:04 Pat 阅读(242) 评论(0) 推荐(0) 编辑
摘要:(1)x2+1=2 (2)x2+y=3 2πN 阅读全文
posted @ 2016-08-02 21:23 Pat 阅读(181) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示