先上题目:Divide SumTime Limit:2000/1000MS (Java/Others)Memory Limit:128000/64000KB (Java/Others)SubmitStatusProblem Descriptionlong long ans = 0;for(int i...
分类:
其他好文 时间:
2014-08-01 04:38:51
阅读次数:
281
Divide SumTime Limit:2000/1000MS (Java/Others)Memory Limit:128000/64000KB (Java/Others)SubmitStatusProblem Descriptionlong long ans = 0;for(int i = 1;...
分类:
其他好文 时间:
2014-07-31 23:24:50
阅读次数:
236
先大概了解一下zabbix数据库结构:1、groups表可以根据组名查到组ID2、找到组ID就可以根据组ID找出这个组下面的所有服务器的ID,这个关系在hosts_groups表里面:3、有了hostid就可以在hosts表里查看这台机器的基本信息了:items表则可以根据hostid查出这台服务器的所有监控项:..
分类:
数据库 时间:
2014-07-31 21:13:48
阅读次数:
1215
快速排序是1962年提出的一种划分交换排序。它采用了一种分治的策略,通常称为分治法(Divide-and-Conquer Method)。分治法的基本思想:将原问题分解为若干个规模更小但结构与原问题相似的子问题。递归地解这些子问题,然后将这些子问题的解组合为原问题的解。快速排序的基本思想:设当前待排...
分类:
其他好文 时间:
2014-07-31 19:37:57
阅读次数:
184
Description
The system of Martians' blood relations is confusing enough. Actually, Martians bud when they want and where they want. They gather together in different groups, so that a Martian can hav...
分类:
其他好文 时间:
2014-07-29 17:55:22
阅读次数:
196
A very interesting numeric problem. It involves a lot tricks.Linear search (by +\-) is not feasible - too slow. So binary search is a good idea. Also ...
分类:
其他好文 时间:
2014-07-29 14:02:08
阅读次数:
187
题目:Given an array of strings, return all groups of strings that are anagrams.Note: All inputs will be in lower-case.题解:这道题看所给的字符串数组里面有多少个是同一个变形词变的。这道....
分类:
编程语言 时间:
2014-07-29 12:17:46
阅读次数:
267
Problem Description
TIANKENG manages a restaurant after graduating from ZCMU, and tens of thousands of customers come to have meal because of its delicious dishes. Today n groups of customers come to...
分类:
其他好文 时间:
2014-07-28 16:03:23
阅读次数:
250
题目:Divide two integers without using multiplication, division and mod operator.题解:这道题我自己没想出来。。。乘除取模都不让用。。那只有加减了。。。我参考的http://blog.csdn.net/perfect888....
分类:
编程语言 时间:
2014-07-27 11:06:32
阅读次数:
303
一、微信获取用户组接口简介 1、请求 该请求也是GET方式请求。请求的url格式如下: https://api.weixin.qq.com/cgi-bin/groups/get?access_token=ACCESS_TOKEN 其中ACCESS_TOKEN是之前我们获取到的。 2、响应 ...
分类:
微信 时间:
2014-07-27 10:32:22
阅读次数:
485