一、添加监控主机Host1、默认已添加Zabbix服务器本机,对自身状态进行监控,应用了Linux和ZabbixServer两个模板:2、点击右侧的Creathost添加监控主机,Groups可在右侧选择一个或在Newgroup中创建一个:3、在Templates项中添加模板,windows系统的就选择TemplateOSWindows模板..
分类:
其他好文 时间:
2014-11-19 16:21:08
阅读次数:
279
Given an array of strings, return all groups of strings that are anagrams.
Note: All inputs will be in lower-case.
原题链接:https://oj.leetcode.com/problems/anagrams/
易位构词游戏的英文词汇是 anagram,这个词来源于有...
分类:
其他好文 时间:
2014-11-19 11:24:01
阅读次数:
170
Given an array of strings, return all groups of strings that are anagrams.
Note: All inputs will be in lower-case.
原题链接:https://oj.leetcode.com/problems/anagrams/
易位构词游戏的英文词汇是 anagram,这个词来源于有...
分类:
其他好文 时间:
2014-11-19 01:23:03
阅读次数:
136
题目描述
Problem C: Celebrity Split
Jack and Jill have decided to separate and divide their property equally. Each of their N mansions has a value between 1,000,000
and 40,000,000 dollars. J...
分类:
其他好文 时间:
2014-11-17 21:17:46
阅读次数:
239
Linux修改用户组usermod -g group loginname强行设置某个用户所在组usermod -G groups loginname把某个用户改为 group(s)usermod -a -G groups loginname把用户添加进入某个组(s)
分类:
系统相关 时间:
2014-11-17 14:02:45
阅读次数:
157
color space reduction divide the color space current value with a new input value to end up with fewer colors. For instance every value between zero a...
分类:
其他好文 时间:
2014-11-16 17:08:55
阅读次数:
169
实现两个整数的除法,不许用乘法、除法和求模。题目被贴上了BinarySearch,但我没理解为什么会和BinarySearch有关系。我想的方法也和BS一点关系都没有。 很早以前我就猜想,整数的乘法是不是总是可以用移位和加法来实现?当然可以了,任何整数都可以写成2n或2n+1的形式,移位就是那...
分类:
其他好文 时间:
2014-11-15 21:44:23
阅读次数:
272
今天在使用Maven 构建项目的时候出现了如下的错误: [ERROR] No plugin found for prefix ‘archetype‘ in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] availab...
分类:
其他好文 时间:
2014-11-13 16:54:17
阅读次数:
201
Given an array of strings, return all groups of strings that are anagrams.
Note: All inputs will be in lower-case.
他的意思就是回文构词法,即单词里的字母的种类和数目没有改变,只是改变了字母的排列顺序。
input= ["abc", "...
分类:
其他好文 时间:
2014-11-12 16:42:05
阅读次数:
200
Divide two integers without using multiplication, division and mod operator.
显然,如果光用减法太慢。让商为N,那么需要用O(N)的时间。这里要求比较苛刻,连乘法都不能使用,所以只能寄希望于二进制操作了。
这里可以把除数表示为:dividend = 2^i * divisor + 2^(i-1) * divisor +...
分类:
其他好文 时间:
2014-11-11 02:02:27
阅读次数:
214