E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
racket
scheme lisp
ubuntu真是越来越不好用了,换回10.10换了源也不和谐,所以windows了.使用的编程工具是Dr
Racket
,看起来和IDLE有点像,似乎还不错。
xiangjie88
·
2013-10-09 21:00
Scheme
Codeforces Round #204 (Div. 1) C Jeff and B
racket
s dp+矩阵加速
比赛的时候没做出来,时间不够,我想到的方法是先求出dp[i][j]在前面有i个左括号的情况下填完n个括号后的最优解。后面的m次就可以用矩阵加速来做了。#include #include #include usingnamespacestd; constintmaxn=22; intn,m; inta[maxn],b[maxn]; longlongdp[maxn][maxn][maxn],ans[m
yrleep
·
2013-10-08 10:00
Leetcode: Valid Parentheses
Givenastringcontainingjustthecharacters '(', ')', '{', '}', '[' and ']',determineiftheinputstringisvalid.Theb
racket
smustcloseinthecorrectorder
doc_sgl
·
2013-10-01 18:00
LeetCode
valid
Parentheses
[LeetCode]020. Valid Parentheses
Givenastringcontainingjustthecharacters '(', ')', '{', '}', '[' and ']',determineiftheinputstringisvalid.Theb
racket
smustcloseinthecorrectorder
myself9711
·
2013-09-21 13:00
LeetCode
LeetCode | Valid Parentheses
Givenastringcontainingjustthecharacters '(', ')', '{', '}', '[' and ']',determineiftheinputstringisvalid.Theb
racket
smustcloseinthecorrectorder
lanxu_yy
·
2013-09-17 22:00
LeetCode
算法
myeclipse设置java文件中的括号匹配颜色
设置java文件中的括号匹配颜色 Window->Preferences->Java->Editor->Matching b
racket
s highlight 设置jsp文件中的括号匹配颜色
MonkeyBoy
·
2013-09-08 15:00
MyEclipse
pointer & two-dimentional arrays
sum(data,3);intsum(int(*ar2)[4],intsize);行指针(数组指针)intsum(intar2[][4],intsize);Thesimplestwayistouseb
racket
stwice
cyper
·
2013-09-01 18:00
POJ 1141 B
racket
s Sequence 经典区间DP题
记忆化搜索:ViewCode#include #include #include #include #include usingnamespacestd; #defineinf1000000000 structnode { intv,vis;//v表示DP的值,加入的最少的括号个数,vis表示dp这一个状态是否被更新 strings;//保存要输出的路径,string使用很方便
c3568
·
2013-08-29 10:00
输出所有括号组合
staticintpairCount=0;//b
racket
s中是当前
cindy_zhong
·
2013-08-28 12:45
数据结构
括号相关
区间dp+输出方案 poj-1141-B
racket
s Sequence
题目链接:http://poj.org/problem?id=1141题目大意:给一个由[,],{,}组成的字符串序列,求增加最少的字符,使该序列能够匹配,并输出最后的方案。解题思路:区间dp.dp[i][j]表示从i~j所需的最少的字符使之能匹配,转移的话要么是头尾匹配直接加中间,要么分成两段。不过要输出到达路径,所以在用一个path[i][j]表示到达该路径时的选择,-1表示头尾,其他表示中间
cc_again
·
2013-08-22 09:00
动态规划
The table name must be enclosed in double quotation marks or sqare b
racket
while accessing EXCEL by
1 PrefaceDBQueryAnalyzerispresentedbyMasterGenfeng,MafromChineseMainland.IthasEnglishversionnamed‘DBQueryAnalyzer’andSimplifiedChineseversionnamed‘万能数据库查询分析器(DB查询分析器)’. Outofquestion,DBQueryAnalyzer
magenfeng
·
2013-08-12 13:00
查询分析器
db查询分析器
dbqueryanalyzer
万能数据库查询分析器
DBQuery
1141 B
racket
s Sequence
POJ上的1141题目是B
racket
s Sequence 输入一个由(、)、[、]四个字符组成的字符串 规定如下的字符串是合格的: 1.空串是合格的; 2.如果S是合格的,那么(S)和[S
SaraWon
·
2013-08-08 16:00
c
POJ 1141
B
racket
sSequenceTimeLimit: 1000MS MemoryLimit: 65536KTotalSubmissions: 22168 Accepted: 6232 SpecialJudgeDescriptionLetusdefinearegularb
racket
ssequenceinthefollowingway
zkzxmzk
·
2013-08-07 16:00
dp
ACM
sublime text 2 插件
emmet(原zenCoding)SublimePrefixrSublimeLinterSublimeAlignmentTagGitB
racket
HighlightersublimeCodeIntelGBKtoUTF8
T_star
·
2013-08-07 00:00
Objective-C 编码规范
团队的编码规范,结合自己的一些习惯Dot-NotationSyntaxDot-notationshouldalwaysbeusedforaccessingandmutatingproperties.B
racket
notationispreferredinallotherinstances.Forexample
JKay_Wong
·
2013-08-04 16:39
iOSDev
Objective-C 编码规范
团队的编码规范,结合自己的一些习惯Dot-NotationSyntaxDot-notationshould always beusedforaccessingandmutatingproperties.B
racket
notationispreferredinallotherinstances.Forexample
Kay_Sprint
·
2013-08-04 16:00
7月下旬学习总结
学习
racket
半月有感scheme/lisp很抽象,基本上没有机器细节.这大概是效率比不过C的原因吧.表现力十分强大,SCIP的书也很经典第一章1.1-1.3主要是递归和迭代,过程抽象和复杂度概念的介绍下面是我对习题
布什雷
·
2013-08-03 16:00
racket
scip
Andrew Stankevich's Contest #10 Solution
AndrewStankevich'sContest#10SolutionProblemA:B
racket
sProblemB:DividingaChocolateProblemC:ThermalDeathoftheUniverseProblemD
chlxyd
·
2013-08-02 16:00
POJ2955:B
racket
s(区间DP)
DescriptionWegivethefollowinginductivedefinitionofa“regularb
racket
s”sequence:theemptysequenceisaregularb
racket
ssequence
libin56842
·
2013-07-31 21:00
poj
区间DP
括号匹配算法
java实现importjava.io.BufferedReader;importjava.io.InputStreamReader;importjava.util.Stack;publicclassB
racket
sMatch
panmaoge
·
2013-07-29 11:34
java
括号匹配
数据结构与算法
括号匹配算法
importjava.io.BufferedReader; importjava.io.InputStreamReader; importjava.util.Stack; publicclassB
racket
sMatch
panmaoge
·
2013-07-29 11:34
java
括号匹配
How many file permissions are possible running ...
linuxkernel2.4.18-3and2.4.18-14)LinuxisaregisteredtrademarkofLinusTorvaldsThecommandswiththeirmostcommonusageareinb
racket
slikethis
tadcat
·
2013-07-28 18:00
[LeetCode] Valid Parentheses、Generate Parentheses、Longest Valid Parentheses
Givenastringcontainingjustthecharacters '(', ')', '{', '}', '[' and ']',determineiftheinputstringisvalid.Theb
racket
smustcloseinthecorrectorder
a83610312
·
2013-07-27 18:00
POJ 1141 B
racket
s Sequencec
题意:给你一串括号序列(只包含小括号和中括号),让你找出长度最小的regularb
racket
ssequence包含此子序列.其中的regularb
racket
ssequence定义如下:1)空序列是一个
HRHACMER
·
2013-07-19 11:00
7_7_2013 D.B
racket
s
ProblemD:B
racket
sTimeLimit: 1Sec MemoryLimit: 32MBSubmit: 70 Solved: 23[Submit][Status][WebBoard]DescriptionThis
電泡泡
·
2013-07-09 08:00
ffmpeg configure参数说明
/configure--help Usage:configure[options] Options:[defaultsinb
racket
safterdescriptions]Standardoptions
lifan_3a
·
2013-07-03 15:00
eclipse写正则式的插件Regex Util
eclipsePlugin.html内容拷贝如下:Screenshot:FeaturesFullhighlightingofregularexpressionsyntaxforaneasyvisualclue(includingb
racket
matching
9910
·
2013-06-27 10:00
JAVA Array Tutorial(1)
an array variable in the same way you declare any simple variable, but you insert a pair of square
racket
s
thecloud
·
2013-06-23 13:00
array
JAVA Array Tutorial(1)
Anarrayisanamedlistofdataitemsthatallhavethesametype.Youdeclareanarrayvariableinthesamewayyoudeclareanysimplevariable,butyouinsertapairofsquare
racket
safterthetype.Afteryoucreateanarrayvariable
zmycoco2
·
2013-06-23 13:00
java
array
Stack用法案例——括号检查
栈可以用来检查表达式中的括号是否匹配/* *File: B
racket
sChecker.cpp *Author:zhxue * *CreatedonJune13,2013,10:43PM */#include"B
racket
sChecker.h"B
racket
sChecker
zhxue123
·
2013-06-15 15:00
Computer Science Conference Ranking
MiningAlthoughwewillattempttokeepthisinformationaccurate,wecannotguaranteetheaccuracyoftheinformationprovided.Thenumbersinb
racket
scorrespondtotheE
chinaliping
·
2013-06-06 11:00
POJ1141 B
racket
s Sequence
题目大意:定义一些规则序列:如果S是规则序列,那么[S]或者(S)也是规则序列,如果A和B都是规则序列,那么AB是规则序列。给出含有圆括号"()"和方括号"[]"的字符串求添加最少括号的规则序列,并打印出来。思路:含有重复子问题,递归动机的DP。当字符串中ww[i]=='('&&ww[j]==')' 或者 ww[i]=='['&&ww[j]==']',那么显然只需要看dp[i+1][j-1]的结果
kg_second
·
2013-05-23 15:00
正则匹配
1、匹配标点符号等非数字非字母非汉字的字符p=re.compile(ur"[^\u4e00-\u9fa5a-zA-Z0-9]+")2、匹配各种括号及其内容"B
RACKET
S":["[\(\[][^()\
haichao062
·
2013-05-23 14:00
在Cookie中存储二进制数据的方法
如果直接将二进制数据存入是不行的,因为cookie规范中规定了一些字符不允许存入: 引用 With Version 0 cookies, values should not contain white space, b
racket
s
blueswind8306
·
2013-05-17 17:00
base64
cookie
Sicily 1543 Completing B
racket
s (SOJ 1543) 【括号匹配】
原题地址:点击打开链接直接正文了,这题比较水,知道括号匹配的基本原理就可以了,以往的思路是使用一个栈,碰到左括号入栈,碰到右括号出栈。这里使用相同原理,碰到左括号计数器加1,碰到右括号减1,如果计数器是负数,那么就在字符串最前面添加左括号,如果扫描完字符串,计数器是正数,那么不断地在字符串末尾添加右括号,每添加一个,计数器加1,很好做的一道题,代码也不长。拜写博客所赐,我在写的时候忽然觉得我之前A
fanfanK
·
2013-05-16 15:00
算法
sicily
[LeetCode] Valid Parentheses
The b
racket
s must close in the correc
cozilla
·
2013-05-15 17:00
LeetCode
输出括号所有合法匹配-sohu产品技术训练营笔试题-2013年5月12日
#include usingnamespacestd; voidDFS_b
racket
doc_sgl
·
2013-05-12 17:00
笔试题
搜狐
括号的合法匹配
Adobe B
racket
s试用
之前不记得在哪里看到,关于AdobeB
racket
s的介绍,于是下载了一个,感觉不错。简单说,AdobeB
racket
s是一个好用的html/css/javascript开发工具。
wuyt2008
·
2013-05-10 10:00
jquery
开发工具
Brackets
POJ 1141 B
racket
s Sequence(动态规划)
题目大意 给你一个括号串(包括'(',')','[',']'),长度不超过100,问你怎么添加最少的括号,使得这个括号串是合法的,输出添加括号后的合法括号串 做法分析 以长度划分阶段,定义状态:f[i][j]表示,s(i)~s(j)这一个字串需要添加多少括号使得其变为合法字串,状态转移: f[i][j]=min{f[i][k]+f[k+1][j]}有一个特殊的地方就是:s(i)和s(j)是
jianzhang.zj
·
2013-05-07 23:00
poj1141 B
racket
s Sequence 动态规划 输出路径
分析: 1.s形如(s')后则[s']:只需要把s'变成规则的,则s就是规则了。2.s形如(s':先把s'变成规则的,在把最后一个加")",则s就是规则的了。3.s形如[s'或者s')后者s']:同上。4.只要序列长度大于1,都可以把S分成两部分Si。。。Sk,Sk+1。。。Sj,分别变成规则序列,则连在一起也是规则的序列。对于程序一:我觉得是用到了第四条性质,由于计算f[i,j]需要知道f[i+
fofu33
·
2013-05-05 19:00
动态规划
poj
输出路径
build WebRTC for android
gclientconfighttps://webrtc.googlecode.com/svn/trunk 2.add"target_os=['android']to.gclient(attheveryend,outsideallb
racket
s
banyao2006
·
2013-05-03 10:00
【leetcode】Valid Parentheses
The b
racket
s must close in the correct order,"()"and"()[]
king_tt
·
2013-05-01 20:00
LeetCode
【leetcode】Valid Parentheses
Givenastringcontainingjustthecharacters '(', ')', '{', '}', '[' and ']',determineiftheinputstringisvalid.Theb
racket
smustcloseinthecorrectorder
sunboy_2050
·
2013-05-01 20:00
C++中四种类型转换以及const_cast是否能改变常量的问题
, reinterpret_cast, static_cast and const_cast.Theirformatistofollowthenewtypeenclosedbetweenangle-b
racket
s
Simba888888
·
2013-04-30 09:00
类型转换
const_cast
【转】经典动态规划题集
半个背包,注意中断1036Gangsters1038*BugsIntegrated,Inc.状态压缩1050TotheMax最大子矩形1080HumanGeneFunctions1088滑雪1141*B
racket
sSequence
x314542916
·
2013-04-29 15:00
vs2008 项目配置
/C++=>General=>AdditionalIncludedirectoriesTellsthecompilerwheretolookforheaderfilesenclosedinangleb
racket
s
qq1987924
·
2013-04-22 19:00
JSON的格式
阅读更多Therearejustafewrulesthatyouneedtoremember:•Objectsareencapsulatedwithinopeningandclosingb
racket
s
Rainbow702
·
2013-04-19 11:00
javascript
json
format
parse
格式
JSON的格式
are just a few rules that you need to remember: •Objects are encapsulated within opening and closing b
racket
s
Rainbow702
·
2013-04-19 11:00
JavaScript
json
format
parse
格式
JSON的格式
are just a few rules that you need to remember: •Objects are encapsulated within opening and closing b
racket
s
Rainbow702
·
2013-04-19 11:00
JavaScript
json
format
parse
格式
JSON的格式
阅读更多Therearejustafewrulesthatyouneedtoremember:•Objectsareencapsulatedwithinopeningandclosingb
racket
s
Rainbow702
·
2013-04-19 11:00
javascript
json
format
parse
格式
上一页
38
39
40
41
42
43
44
45
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他