参考自http://stackoverflow.com/questions/19478244/how-does-a-case-anonymous-function-really-work-in-scalahttp://www.scala-lang.org/files/archive/nightly/...
分类:
其他好文 时间:
2014-11-19 15:32:55
阅读次数:
244
Implement wildcard pattern matching with support for'?'and'*'.'?' Matches any single character.'*' Matches any sequence of characters (including the e...
分类:
其他好文 时间:
2014-11-16 11:57:11
阅读次数:
145
'?' Matches any single character.'*' Matches any sequence of characters (including the empty sequence).The matching should cover the entire input stri...
分类:
其他好文 时间:
2014-11-15 06:35:33
阅读次数:
152
描述Given two strings A and B, whose alphabet consist only ‘0’ and ‘1’. Your task is only to tell how many times does A appear as a substring of B? For ...
分类:
其他好文 时间:
2014-11-13 20:39:39
阅读次数:
139
英文名称:impedance matching基本概念 信号传输过程中负载阻抗和信源内阻抗之间的特定配合关系。一件器材的输出阻抗和所连接的负载阻抗之间所应满足的某种关系,以免接上负载后对器材本身的工作状态产生明显的影响。对电子设备互连来说,比如信号源连放大器,前级连后级,仅仅要后一级的输入阻抗大于前...
分类:
其他好文 时间:
2014-11-11 16:21:41
阅读次数:
285
一开始采用递归写,TLE。
class Solution {
public:
bool flag;
int n,m;
void dfs(int id0,const char *s,int id1,const char *p){
if(flag)return;
if(id0>=n){
if(id1>=m)flag=1;
else{
int j=0;
whi...
分类:
其他好文 时间:
2014-11-09 15:18:20
阅读次数:
225
搭建ssh框架,在配置完applicationContext.xml测试时报daoImpl的no matching editors or conversion strategy found。。。上网搜了一下,在里加上proxy-target-class="true" 。。意思是代理目标类设为true...
分类:
其他好文 时间:
2014-11-06 19:19:08
阅读次数:
240
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:hczm' did not find a matchin...
分类:
Web程序 时间:
2014-11-04 16:43:33
阅读次数:
228
Binary String Matching描述Given two strings A and B, whose alphabet consist only ‘0’ and ‘1’. Your task is only to tell how many times does A appear as ...
分类:
其他好文 时间:
2014-11-02 16:09:51
阅读次数:
151
可能遇到的问题: 错误: java.security.cert.CertificateException: No name matching localhost found 原因: keystore里没有名字为localhost的信息 解决方法: 使用keytool创建public-private ...
分类:
其他好文 时间:
2014-10-31 18:44:24
阅读次数:
182