效果如:logback.xml日志关键点:<?xmlversion="1.0"encoding="UTF-8"?><configuration><!--日志存放路径--><propertyname="log.path"value="./javademoe/logs"/><!--日志输出格式--><!--<propertynam
分类:
编程语言 时间:
2020-04-08 09:16:23
阅读次数:
218
Given an array of strings, group anagrams together. Example: Note: All inputs will be in lowercase. The order of your output does not matter. 这道题就是用每个 ...
分类:
其他好文 时间:
2020-04-07 10:00:31
阅读次数:
94
1、Module 'count' does not have a timeunit/timeprecision specification in effect, but other modules do 我仿真时出现这个错误是因为在源码中我加了 #1,在源码的module前面没有加 `timesca ...
分类:
其他好文 时间:
2020-04-06 23:53:14
阅读次数:
364
ERROR: SWT folder '' does not exist. Please set ANDROID_SWT to point to the folder containing swt.jar for your platform. 初始化错误,找不到swt.jar文件 解决办法参考: 先在 ...
分类:
移动开发 时间:
2020-04-06 21:05:58
阅读次数:
108
concat、split、search、replace、fromCharCode、charCodeAt、match、charAt、toLowerCase、toUpperCase、slice、substring、substr、indexOf、lastIndexOf、trim ...
分类:
Web程序 时间:
2020-04-05 13:29:11
阅读次数:
72
「网络流 24 题」搭配飞行员 不说了,妥妥的最大流... #include<bits/stdc++.h> #define ll long long using namespace std; const int N=110; int link[N],tot,n,m,vis[N],match[N]; ...
分类:
其他好文 时间:
2020-04-03 20:14:01
阅读次数:
56
$sub= '我有5斤大米,6斤白面,售卖100元'; 我想提取"有5斤大米"、"卖100元",用preg_match_all( '/.?\d+.?/', $sub, $match)出现乱码 改成preg_match_all( '/.?\d+.?/u', $sub, $match)后正常。 这里的小 ...
分类:
其他好文 时间:
2020-04-03 16:32:02
阅读次数:
93
1.re.match函数 re.match 尝试从字符串的起始位置匹配一个模式,如果不是起始位置匹配成功的话,match()就返回none。 函数语法: re.match(pattern, string, flags=0) 1 import re 2 3 ret = re.match("http", ...
分类:
编程语言 时间:
2020-04-03 13:39:08
阅读次数:
80
自动文档摘要评价方法大致分为两类: (1) 内部评价方法(Intrinsic Methods) :提供参考摘要,以参考摘要为基准评价系统摘要的质量。系统摘要与参考摘要越吻合, 质量越高。 (2) 外部评价方法(Extrinsic Methods) :不提供参考摘要,利用文档摘要代替原文档执行某个文档 ...
分类:
其他好文 时间:
2020-04-02 22:32:49
阅读次数:
112