码迷,mamicode.com
首页 >  
搜索关键字:up    ( 7825个结果)
[Leetcode] Binary Tree Level Order Traversal II
Given a binary tree, return thebottom-up level ordertraversal of its nodes' values. (ie, from left to right, level by level from leaf to root).For exa...
分类:其他好文   时间:2014-11-02 07:04:55    阅读次数:202
[Leetcode] Two Sum (C++)
题目:Given 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 two...
分类:编程语言   时间:2014-11-02 00:36:25    阅读次数:215
sicily 1193. Up the Stairs
Time Limit: 1sec Memory Limit:32MBDescriptionJohn is moving to the penthouse of a tall sky-scraper. He packed all his stuff in boxes and drove them t....
分类:其他好文   时间:2014-11-01 20:26:35    阅读次数:226
[Leetcode] Two Sum
Given 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 two nu...
分类:其他好文   时间:2014-11-01 06:12:44    阅读次数:273
自建项目push后再pull报The remote end hung up unexpectedly问题解决
当git clone之后,直接git pull它会自动匹配一个正确的remote url是因为在config文件中配置了以下内容:[java] view plaincopy[branch"master"]remote=originmerge=refs/heads/master表明:1.git处于ma...
分类:其他好文   时间:2014-10-31 21:56:19    阅读次数:159
LeetCode 117 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 extr...
分类:其他好文   时间:2014-10-31 10:10:30    阅读次数:202
HDU 1432 Lining Up (POJ 1118)
枚举,枚举点 复杂度为n^3。 还可以枚举边的,n*n*log(n)。 POJ 1118 要判断0退出。 #include #include #include #include #include #include #include #include #include #include #include #include #define INF ...
分类:其他好文   时间:2014-10-31 10:10:10    阅读次数:235
poj3087--Shuffle'm Up(小模拟)
Shuffle'm Up Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 5983   Accepted: 2809 Description A common pastime for poker players at a poker table is to shuf...
分类:其他好文   时间:2014-10-30 20:59:47    阅读次数:211
matlab 直方图均衡化
原理:直方图均衡化首先是一种灰度级变换的方法:原来的灰度范围[r0,rk]变换到[s0,sk]变换函数为:s=T(r);为便于实现,可以用查找表(look-up table)的方式存储,即:原始的灰度作为查找表的索引,表中的内容是新的灰度值。其次,直方图均衡化是图像增强的一种基本方法,可提高图像的对...
分类:其他好文   时间:2014-10-30 20:55:22    阅读次数:358
Hdu2855Fibonacci Check-up矩阵
转个图。或者打表找的规律是 g[n] = 3*g[n-1] - g[n-2];构造个 3 -1 的矩阵然后搞下就好了。 1 0 #include #include #include #include typedef long long LL;using namespace std;LL mod...
分类:其他好文   时间:2014-10-30 20:47:17    阅读次数:245
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!