码迷,mamicode.com
首页 >  
搜索关键字:up    ( 7825个结果)
系统监控的一些工具w , vmstat
w 命令:--w 查看的是系统整体上的负载# w 15:23:46 up 3:34, 2 users, load average: 0.03, 0.05, 0.00USER TTY FROM LOGIN@ IDLE JCPU PCPU W...
分类:其他好文   时间:2015-02-04 10:59:11    阅读次数:181
欧拉计划(python) problem 31
Coin sums Problem 31 In England the currency is made up of pound, £, and pence, p, and there are eight coins in general circulation: 1p, 2p, 5p, 10p, 20p, 50p, £1 (100p) and £2 (200p). It ...
分类:编程语言   时间:2015-02-04 09:34:29    阅读次数:194
63. Unique Path II Leetcode Python
Follow up for "Unique Paths": Now consider if some obstacles are added to the grids. How many unique paths would there be? An obstacle and empty space is marked as 1 and 0 respectively in th...
分类:编程语言   时间:2015-02-04 09:28:40    阅读次数:172
POJ 3468 A Simple Problem with Integers(线段树 区间更新)
http://poj.org/problem?id=3468题意 :对于一个序列有两种操作 1 查询 l到r 的和 2 对于l 到r上的每个数 加上 up思路: 用单点更新必然超时 所以需要区间更新(位运算时 注意 m-m>>1 与 m-(m>>1) 的区别)#include#inclu...
分类:其他好文   时间:2015-02-04 00:16:20    阅读次数:269
LeetCode[Tree]: Path Sum
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.  For example:  Given the below binary tree and su...
分类:其他好文   时间:2015-02-03 23:08:01    阅读次数:196
(寒假CF3)B - 坑坑
题解:dpDescriptionAlex doesn't like boredom. That's why whenever he gets bored, he comes up with games. One long winter evening he came up with a game a...
分类:其他好文   时间:2015-02-03 22:37:26    阅读次数:104
LeetCode[Tree]: Populating Next Right Pointers in Each Node II
Follow up for problem “Populating Next Right Pointers in Each Node”.  What if the given tree could be any binary tree? Would your previous solution still work?  Note: You may only use constant ex...
分类:其他好文   时间:2015-02-03 17:13:39    阅读次数:156
vim技巧:翻页
整页翻页 ctrl-f ctrl-bf=forword b=backward翻半页ctrl-d ctlr-ud=down u=up滚一行ctrl-e ctrl-yzz 让光标所在的行居屏幕中央zt 让光标所在的行居屏幕最上一行 t=topzb 让光标所在的行居屏幕最下一行 b=bottom
分类:系统相关   时间:2015-02-03 17:06:46    阅读次数:425
SharePoint 2013 数据库中手动更新用户信息
在SharePoint的使用过程中,尤其是Windows认证的情况下,而且没有配置用户配置文件服务,经常会出现如果更新AD中的用户信息(包括名字、显示名、邮件等),SharePoint这边站点并不会更新的情况。 这时候,我们经常会操作数据进行更新操作,生产环境建议备份,测试环境也要多看几次up...
分类:数据库   时间:2015-02-03 16:33:10    阅读次数:187
STL之sort函数的用法
说明:本文仅供学习交流,转载请标明出处,欢迎转载! STL封装了一个排序算法,该算法相应的头文件为#include,我们能够依据须要对一个数组进行排序或者降序。 sort的函数原型为: void sort(b,e,pre=up),表示对[b,e)的元素进行排序,第三个參数为一个谓词,我们...
分类:其他好文   时间:2015-02-03 14:55:03    阅读次数:188
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!