题目描述:Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.The brackets must close in ...
分类:
其他好文 时间:
2015-03-11 17:02:55
阅读次数:
98
作为一名前端狗,编写html、tpl、xml是基本技能,但是这种重复的劳动着实让人口吐鲜血。于是乎,在茫茫插件中发现了这个神器——Emmet.话不多说,上连接http://docs.emmet.io/
分类:
其他好文 时间:
2015-03-11 17:02:48
阅读次数:
107
PS:这是Sublime text 3而不是Sublime text 2,一般官方下载原版Sublime text 3是不带Emmet的,所以告诉下大家Emmet的安装方法————①按Ctrl+`调出console②粘贴以下代码到底部命令行并回车:import urllib.request,os; ...
分类:
其他好文 时间:
2015-03-11 16:52:18
阅读次数:
107
括号匹配,结果为匹配后的串一、记忆化搜索(search with finger):从[0, strlen(s)-1] 开始搜索,缩短区间,期间记录搜索过的值,防止重复cut[l][r]代表区间[l, r]中需要从哪里分割,为输出串长不超过100 复杂度可以接受 1 // Brackets seque...
分类:
其他好文 时间:
2015-03-09 19:01:31
阅读次数:
164
Given a string containing just the characters '(', ')', '{', '}', '[' and ']',
determine if the input string is valid.
The brackets must close in the correct order, "()" and "()[]{}" are
all va...
分类:
其他好文 时间:
2015-03-04 19:14:54
阅读次数:
121
工具/原料 sublime Text 2 安装emmet插件 方法/步骤 生成html文档初始结构: ! Document html:5 Document html:xs Document html:4s ...
分类:
其他好文 时间:
2015-03-04 01:01:38
阅读次数:
175
国内有时brackets的插件安装不了。推荐两种方法:(1) 将插件网址跟改一下:原本网址A:https://s3.amazonaws.com/extend.brackets/brackets-emmet/brackets-emmet-1.1.3.zip改成网址B:http://s3.sfait.c...
分类:
其他好文 时间:
2015-02-28 16:16:45
阅读次数:
114
昨天切换到sublime text 3 安装 emmet插件 不起作用 提示 pyv8 无法加载 手动下载安装解决问题描述PyV8 BinariesArchive of pre-compiled PyV8 binaries, used by Emmet for Sublime Text plugin...
分类:
其他好文 时间:
2015-02-27 13:22:04
阅读次数:
520
1 #include 2 #include 3 #include 4 #include 5 #define pf(x) printf("%d\n", x) 6 #define CL(x, y) memset(x, y, sizeof(x)) 7 #define max(a, b) (a >...
分类:
其他好文 时间:
2015-02-25 15:25:46
阅读次数:
147
Time Limit:2000MS Memory Limit:65536KBDescriptionGiven a string consisting of brackets of two types find its longest substring that is a regular brack...