Description
You are given circular array a0,?a1,?...,?an?-?1.
There are two types of operations with it:
inc(lf,?rg,?v) — this operation increases each element on the segment
[lf,?rg] (inclu...
分类:
其他好文 时间:
2014-08-15 00:01:56
阅读次数:
327
A very big corporation is developing its corporative network. In the beginning each of the N enterprises of the corporation, numerated from 1 to N, or...
分类:
Web程序 时间:
2014-08-14 23:32:26
阅读次数:
231
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the fol...
分类:
其他好文 时间:
2014-08-14 23:26:46
阅读次数:
219
本题就是专门肯人的题目,给出的列子也是故意误导人的。
其实就考一点:没有mirror的字母存在的时候就可以判定整个字符串不是mirror!
如下面的mirrored string的叙述:
A mirrored string is a string for which when each of the elements of the string is changed to its rever...
分类:
其他好文 时间:
2014-08-14 16:51:28
阅读次数:
208
COURSES
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 17443
Accepted: 6873
Description
Consider a group of N students and P courses. Each student visits ...
分类:
其他好文 时间:
2014-08-14 16:48:48
阅读次数:
156
_.each() _.each(list, iterator, [context]); 按顺序遍历输出每个元素。如果传递了context参数,则把iterator绑定到context对象上(这句话还未理解,希望大牛们留言,解答)。每次调用itrerator都会传递三个参数:...
分类:
Web程序 时间:
2014-08-14 14:21:48
阅读次数:
1383
Air Raid
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 6656
Accepted: 3966
Description
Consider a town where all the streets are one-way and each street ...
分类:
其他好文 时间:
2014-08-14 14:14:28
阅读次数:
206
roblem F
Coupons
Input: standard input
Output: standard output
Time Limit: 2 seconds
Memory Limit: 32 MB
Coupons in cereal boxes are numbered 1 to n, and a set of one of each is...
分类:
其他好文 时间:
2014-08-14 14:04:18
阅读次数:
271
Virtual addresses from multiple address spaces are translated to real addresses in main memory by generating for each virtual address an address space...
分类:
移动开发 时间:
2014-08-14 13:24:28
阅读次数:
489
Problem Description
A project manager wants to determine the number of the workers needed in every month. He does know the minimal number of the workers needed in each month. When he hires or fires...
分类:
其他好文 时间:
2014-08-14 01:36:07
阅读次数:
332