http://www.webiyo.com/2011/02/install-mongodb-service-on-windows-7.htmlDownload MongoDBYou can download MongoDB in two different editions viz.32bit Mo...
分类:
数据库 时间:
2014-09-04 20:50:40
阅读次数:
333
前言:引用某某的话——我是猪QAQ。。。。。题意就不复述了。解题思路:一般的建树,求和。离散化:用另一个数组sor[]记录原数组,sort一遍,用unique去重,用sor[]数组元素下标,代替原数组中元素,然后在sor[]数组里二分查找元素,last[]数组记录第i个元素上一次出现的位置。离线处理...
分类:
其他好文 时间:
2014-09-04 20:49:20
阅读次数:
323
传送门Power StringsTime Limit: 3000MSMemory Limit: 65536KDescriptionGiven two strings a and b we define a*b to be their concatenation. For example, if a ...
分类:
其他好文 时间:
2014-09-04 20:48:00
阅读次数:
190
Divide two integers without using multiplication, division and mod operator.思路:取被除数和除数的绝对值求解即可。不过,需要考虑特殊情况:INT_MIN取绝对值仍然是INT_MIN。 1 class Solution { 2...
分类:
其他好文 时间:
2014-09-04 20:46:30
阅读次数:
214
MedianTime Limit: 5 Seconds Memory Limit: 65536 KBThe median of m numbers is after sorting them in order, the middle one number of them if m is even o...
分类:
其他好文 时间:
2014-09-04 16:49:29
阅读次数:
190
The Java Message Service(JMS) API is a Java Message Oriented Middleware API for sending messages between two or moreclients . JMS is a part of the Ja....
分类:
编程语言 时间:
2014-09-03 22:40:17
阅读次数:
285
Two SumGiven an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the...
分类:
其他好文 时间:
2014-09-03 22:31:37
阅读次数:
386
These two terms in the Predicate Information section indicate when the data source is reduced. Simply, access means only retrieve those records meetin...
分类:
数据库 时间:
2014-09-03 19:37:37
阅读次数:
351
1: string entNames = "new_print_plan,new_radio_plan,new_bill_board,new_tv_plan,new_btl_posm,new_btl_poe_fixed,new_promotion_girls,new_promotion_events...
分类:
其他好文 时间:
2014-09-03 19:36:57
阅读次数:
314
Description
Consider two natural numbers A and B. Let S be the sum of all natural divisors of A^B. Determine S modulo 9901 (the rest of the division of S by 9901).
Input
The only line contains the ...
分类:
其他好文 时间:
2014-09-03 16:50:26
阅读次数:
271