Description Given an expression s contains numbers, letters and brackets. Number represents the number of repetitions inside the brackets(can be a str ...
分类:
其他好文 时间:
2019-12-21 15:21:13
阅读次数:
81
CodeGlance(非常实用) 在代码右侧滚动条处显示滚动块,鼠标按住可快速上下滑动,并且可调整宽窄 Lombok plugin 简化实体类,类上加注解@Data,可不用添加get/set方法 Rainbow Brackets 代码中的各种括号都会被加上颜色,这个因人而异,喜欢就用 Mybatis ...
分类:
其他好文 时间:
2019-12-07 21:04:31
阅读次数:
71
E. Editor The development of a text editor is a hard problem. You need to implement an extra module for brackets coloring in text. Your editor consist ...
分类:
其他好文 时间:
2019-11-30 13:21:32
阅读次数:
90
Given an encoded string, return its decoded string. The encoding rule is: k[encoded_string], where the encoded_string inside the square brackets is be ...
分类:
其他好文 时间:
2019-11-05 13:57:41
阅读次数:
110
题意:你要在纸上画一个长度为n * m的括号序列,第i个位置画左括号的花费是a[i % n], 画右括号的花费是b[i % n],问画完这个括号序列的最小花费。n <= 20, m <= 1e7 思路:如果不管n和m的限制,这个题很好做,设dp[i][j]是到i位置,平衡因子是j的花费,dp[i][ ...
分类:
其他好文 时间:
2019-06-08 13:10:23
阅读次数:
106
题目链接:http://poj.org/problem?id=2955【题目描述】《规则的括号序列》我们定义一个字符串序列为“规则的括号序列”当且仅当它满足如下条件:1、空字符串是规则的括号序列;2、如果字符串 s 是一个规则的括号序列,那么 (s) 和 [s] 也是规则的括号序列;3、如果字符串 ...
分类:
其他好文 时间:
2019-06-07 20:55:51
阅读次数:
100
Matrices、matrix 矩阵 vectors 向量 array 排列 Element 元素 A matrix is a rectangular array of numbers,written between square brackets 矩阵是由数字组成的矩形阵列,并写在方括号内 Squ ...
分类:
其他好文 时间:
2019-05-20 15:21:13
阅读次数:
138
Rainbow Brackets:彩虹颜色的括号 Maven Helper :分析依赖冲突插件 Grep Console:显示不同日志级别不同颜色 Mybatis Log Plugin:直接将Mybatis执行的sql脚本显示出来,无需处理 CheckStyle:代码格式检查工具 Alibaba J ...
分类:
其他好文 时间:
2019-05-13 00:59:53
阅读次数:
143
<?php$character = "15.(2015秋?姜堰市期中)出生于公元前551年的孔子,出生年份记作﹣551年;李白出生于公元701年,对于他的出生年份,下面的记法不正确的是 (%brackets%)"; $reg = '/%[A-Za-z_]{1,}%/';$character = pr ...
分类:
其他好文 时间:
2019-04-24 10:41:17
阅读次数:
126