码迷,mamicode.com
首页 >  
搜索关键字:ps move    ( 17927个结果
C# 接受邮件 两种方式
有些累了,不想写太多,直接把代码贴上EWS源码POP协议源码PS:如果我们发现引入的一个dll,能够添加引用,但是一编译又找不到,那么很有可能是.net framework 版本不同。不如需要把当前工程的.net framework 4 client profile 改成 .net framewor...
分类:其他好文   时间:2014-06-15 21:14:00    阅读次数:194
poj 3233 Matrix Power Series(等比矩阵求和)
http://poj.org/problem?id=3233 ps转: 用二分方法求等比数列前n项和:即   原理:   (1)若n==0   (2)若n%2==0     (3)若n%2==1 代码如下: LL sum(LL p,LL n) { if(n==0) return 1; i...
分类:其他好文   时间:2014-06-15 20:01:44    阅读次数:210
hdu-2475-Box-splay
伸展树是那么的迷人,总是让你在希望的时候WA,在绝望的时候AC。。。。。 做这个题没有之前,首先要了解树形结构转线性的做法。 推荐连接:http://blog.csdn.net/lyhypacm/article/details/6734748 本题做法: 对于本题的每一个最外层的盒子建立一颗伸展树。 对于move x y操作: (1)把x为根的子树切下来。 (2)然后把切下来的子树放...
分类:其他好文   时间:2014-06-15 19:10:47    阅读次数:302
bash配置tmux来显示tmux ssh的状态
需求: 在tmux里面链接ssh的时候, 如果存在多个ssh主机, 想要显示对应的主机ip以示甄别 实现效果 编辑你的bashrc, 因为我习惯在root下操作, 所以/root/.bashrc, 你如果习惯用user, 那就编辑/home/你的用户名/.bashrc 增加 ssh() {     if [ "$(ps -p $(ps -p $$ -o...
分类:其他好文   时间:2014-06-15 17:58:18    阅读次数:245
Oracle(exp/imp)导入导出
一、exp本地导出与imp本地导入直接进入系统命令行运行即可。exp命令:1 exp username/psw@TEST file=d:test.dmp full=y2 exp username/psw@TEST file=d:test.dmp owner=(ly)3 exp username/ps...
分类:数据库   时间:2014-06-15 16:10:17    阅读次数:267
Linux单词表
su:Swithuser切换用户,切换到root用户cat:Concatenate串联uname:Unixname系统名称df:Diskfree空余硬盘du:Diskusage硬盘使用率chown:Changeowner改变所有者chgrp:Changegroup改变用户组ps:ProcessSta...
分类:系统相关   时间:2014-06-14 22:02:41    阅读次数:440
Leetcode:Triangle
Decription: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, gi...
分类:其他好文   时间:2014-06-14 19:46:12    阅读次数:251
PS 滤镜——染色玻璃
%%%% 完成PS 中的染色玻璃滤镜特效 clc; clear all; close all; addpath('E:\PhotoShop Algortihm\Image Processing\PS Algorithm'); Image=imread('4.jpg'); Image=double(Image); Gray_Image=rgb2gray(Image/...
分类:其他好文   时间:2014-06-14 10:39:21    阅读次数:240
POJ 2253-Frogger (Prim)
题目链接:Frogger 题意:两只青蛙,A和B,A想到B哪里去,但是A得弹跳有限制,所以不能直接到B,但是有其他的石头作为过渡点,可以通过他们到达B,问A到B的所有路径中,它弹跳最大的跨度的最小值 PS:最小生成树过的,刚开始用Dijstra做,Kao,精度损失的厉害,对于Dijksra的变形不大会变啊,看了Discuss有人用最小生成树过,我一划拉,还真是,敲了,就过了,等会研究研究最...
分类:其他好文   时间:2014-06-14 10:35:14    阅读次数:271
【Leetcode】Minimum Path Sum
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path. Note: You can only move either down or right at...
分类:其他好文   时间:2014-06-13 20:36:56    阅读次数:280
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!