初次安装使用GNS3,安装的版本是GNS3-0.8.6-all-in-one,本人也是菜鸟,安装时都是一路 Next,结果安装后运行出现了这样的问题,如图language里是没有选项的,解决方法把之前安装的GNS3,wireshark和winPcap彻底的卸载干净,重新安装。安装时不要勾选wires...
分类:
其他好文 时间:
2014-07-06 18:35:56
阅读次数:
387
SubsetsTotal Accepted:13267Total Submissions:48509My SubmissionsGiven a set of distinct integers,S, return all possible subsets.Note:Elements in a sub...
分类:
其他好文 时间:
2014-07-06 17:50:21
阅读次数:
170
Given an array of strings, return all groups of strings that are anagrams.Note: All inputs will be in lower-case.题目的意思是:给出一组字符串,按组返回拥有相同变位词的字符串解题思路是: ...
分类:
其他好文 时间:
2014-07-06 17:47:10
阅读次数:
210
题目链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=168(该题目同POJ 1888)13832879232Crossword AnswersAccep...
分类:
其他好文 时间:
2014-07-06 17:14:53
阅读次数:
199
Given a 2D board containing'X'and'O', capture all regions surrounded by'X'.A region is captured by flipping all'O's into'X's in that surrounded region...
分类:
其他好文 时间:
2014-07-06 16:10:55
阅读次数:
138
昨天同事在review代码的时候,给我show了另一个同事写的神一样的python代码,基本上是list comprehension加巨复杂的filter,外加正则表达式,以及一个generator函数,并且在那个generator函数上还加了一个decorator,同事其实也写了几年python了...
分类:
其他好文 时间:
2014-07-06 16:08:45
阅读次数:
149
算是一种特效模糊方式吧,算法原理就是用邻域随机像素代替当前所处理的像素就可以了。效果如下图所示:原图:处理后结果:matlab代码如下:clear all; close all;clc;img=imread('lena.jpg');[h,w]=size(img);imgn=img;n=3; %...
分类:
其他好文 时间:
2014-07-06 15:29:15
阅读次数:
378
Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area.public class Solution { public...
分类:
其他好文 时间:
2014-07-06 13:50:22
阅读次数:
153
Given an array and a value, remove all instances of that value in place and return the new length.The order of elements can be changed. It doesn't mat...
分类:
其他好文 时间:
2014-07-06 13:38:13
阅读次数:
168
Then-queens puzzle is the problem of placingnqueens on ann×nchessboard such that no two queens attack each other.Given an integern, return all distinc...
分类:
其他好文 时间:
2014-07-06 13:32:49
阅读次数:
204