08 2016 档案

摘要:传送门 The k-th Largest Group Time Limit: 2000MS Memory Limit: 131072K Total Submissions: 8690 Accepted: 2847 Description Newman likes playing with cats. 阅读全文
posted @ 2016-08-19 23:58 zxzhang 阅读(303) 评论(0) 推荐(0) 编辑
摘要:``` int find_kth(int k) { int ans = 0,cnt = 0; for (int i = 20;i = 0;i ) //这里的20适当的取值,与MAX_VAL有关,一般取lg(MAX_VAL) { ans += (1 = maxn || cnt + c[ans] = k 阅读全文
posted @ 2016-08-19 18:45 zxzhang 阅读(1124) 评论(1) 推荐(1) 编辑
摘要:题目链接: [传送门][1] Buy Tickets Time Limit: 4000MS     Memory Limit: 65536K Description Railway tickets were difficult to buy arou 阅读全文
posted @ 2016-08-18 00:47 zxzhang 阅读(306) 评论(0) 推荐(0) 编辑
摘要:题目链接: [传送门][1] Mayor's posters Time Limit: 1000MS     Memory Limit: 65536K Description The citizens of Bytetown, AB, could no 阅读全文
posted @ 2016-08-17 20:33 zxzhang 阅读(188) 评论(0) 推荐(0) 编辑
摘要:题目链接: [传送门][1] A Simple Problem with Integers Time Limit: 5000MS     Memory Limit: 131072K Description You have N integers, A 阅读全文
posted @ 2016-08-17 11:53 zxzhang 阅读(188) 评论(0) 推荐(0) 编辑
摘要:题目链接: [传送门][1] Just a Hook Time Limit: 1000MS     Memory Limit: 32768 K Description In the game of DotA, Pudge’s meat hook is 阅读全文
posted @ 2016-08-16 23:57 zxzhang 阅读(356) 评论(0) 推荐(0) 编辑
摘要:题目链接: [传送门][1] Minimum Inversion Number Time Limit: 1000MS     Memory Limit: 32768 K Description The inversion number of a gi 阅读全文
posted @ 2016-08-15 18:05 zxzhang 阅读(255) 评论(0) 推荐(0) 编辑
摘要:题目链接: [传送门][1] Billboard Time Limit: 2000MS     Memory Limit: 32768 K Description At the entrance to the university, there is 阅读全文
posted @ 2016-08-14 23:25 zxzhang 阅读(200) 评论(0) 推荐(0) 编辑
摘要:题目链接: [传送门][1] 最大连续子序列 Time Limit: 1000MS     Memory Limit: 32768 K Description 给定K个整数的序列{ N1, N2, ..., NK },其任意连续子序列可表示为{ Ni 阅读全文
posted @ 2016-08-14 23:21 zxzhang 阅读(654) 评论(0) 推荐(0) 编辑
摘要:概述   位操作是程序设计中对位模式或二进制数的一元和二元操作。在许多古老的微处理器上,位运算比加减运算略快,通常位运算比乘除法运算要快很多。在现代架构中,情况并非如此:位运算的运算速度通常与加法运算相同(仍然快于乘法运算)。实际编程中如果能巧妙运用位元算,将会有许多意想不到的事 阅读全文
posted @ 2016-08-13 10:58 zxzhang 阅读(680) 评论(0) 推荐(0) 编辑
摘要:SublimeREPL 允许你在 Sublime Text 中运行各种语言(NodeJS , Python,Ruby, Scala 和 Haskell 等等)。所以对于程序员来说,这是很重要的一个插件。下面以python为例,来说明这个快捷键设置 1、 点击“preference” “Browse 阅读全文
posted @ 2016-08-07 17:17 zxzhang 阅读(1431) 评论(0) 推荐(0) 编辑
摘要:官方下载:[Sublime Text][1] 中国论坛:[Sublime 论坛][2] Sublime Text 是一个代码编辑器,具有漂亮的用户界面和强大的功能,并且它还是一个跨平台的编辑器,同时支持Windows、Linux、Mac OS X等操作系统。现在最新的是Sublime Text 3。 阅读全文
posted @ 2016-08-07 16:39 zxzhang 阅读(514) 评论(0) 推荐(0) 编辑

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