In the Personal Communication Service systems such as GSM (Global System for Mobile Communications), there are typically a number of base stations spr ...
分类:
其他好文 时间:
2017-09-24 18:17:04
阅读次数:
354
题目9 : Minimum 题目9 : Minimum 时间限制:1000ms 单点时限:1000ms 内存限制:256MB 描述 You are given a list of integers a0, a1, …, a2^k-1. You need to support two types of ...
分类:
其他好文 时间:
2017-09-24 13:50:27
阅读次数:
244
#1579 : Reverse Suffix Array #1579 : Reverse Suffix Array 时间限制:1000ms 单点时限:1000ms 内存限制:256MB 描述 There is a strong data structure called "Suffix Array" ...
分类:
编程语言 时间:
2017-09-24 11:42:03
阅读次数:
269
题目链接:http://hihocoder.com/problemset/problem/1584 题意:就是求一个小球从矩阵的左上角,跑到矩形的右下角不能重复经过的格子,小球碰到墙壁就反射。 解法:规律题。先算出来小球一共会经过多少网格(包括重复的在内),再算出来有多少个网格过不止一次,两者相减就 ...
分类:
其他好文 时间:
2017-09-24 11:38:51
阅读次数:
189
题意: 给定一副n*m的格子图, 问从左上角的点开始往右下角滑,碰到墙壁就反弹, 碰到角落就停止, 问恰好经过一次的格子有多少个。 如图,恰好经过一次的格子有39个。 分析: 首先要引入两个概念, “路径长”,“格子数”。 路径长指的是整段路程的长度,如果走过同一个格子两次那么就算是2步。 格子数指 ...
分类:
其他好文 时间:
2017-09-24 11:36:10
阅读次数:
240
题目1 : Visiting Peking University 题目1 : Visiting Peking University 时间限制:1000ms 单点时限:1000ms 内存限制:256MB 描述 Ming is going to travel for n days and the dat ...
分类:
编程语言 时间:
2017-09-24 10:44:28
阅读次数:
149
描述 You are given a list of integers a0, a1, …, a2^k-1. You need to support two types of queries: 1. Output Minx,y∈[l,r] {ax?ay}. 2. Let ax=y. 输入 The f ...
分类:
其他好文 时间:
2017-09-24 09:59:32
阅读次数:
334
题目1 : Visiting Peking University 时间限制:1000ms 单点时限:1000ms 内存限制:256MB 描述 Ming is going to travel for n days and the date of these days can be represente ...
分类:
其他好文 时间:
2017-09-24 09:47:04
阅读次数:
272
题目链接 比赛时随便找了个规律,然后队友过了。不过那个规律具体细节还挺烦的。刚刚偶然看到Q巨在群里提到的他的一个思路,妙啊,很好理解,而且公式写起来也容易。OrzQ巨 ...
分类:
其他好文 时间:
2017-09-24 03:26:21
阅读次数:
261
1、今天打了北京的网络赛,感觉到了自己的不足,就是基础的东西,就是中等以上的问题还是不能很好的解决,而且要是自己不擅长找规律的话,盲目的找规律根本就解决不要实质性的问题。 2、所以最近这些天应该提高的还是自己的模板和中档题的能力,那么就从最近的区域赛中整理模板,还有就是当天的问题还是应该当天的解决的 ...
分类:
其他好文 时间:
2017-09-23 21:26:03
阅读次数:
134