摘要:
1 首先检查Eclipse的WorkSpace下字符编码Windows>Perference>General>WorkSpace>左下角,设置为GBK(若没有GBK选项,可百度"linux添加中文字符集"); 2 其次检查乱码文件的编码,右键文件 Properties>Resource 如果像笔者一 阅读全文
摘要:
1 首先检查Eclipse的WorkSpace下字符编码Windows>Perference>General>WorkSpace>左下角,设置为GBK(若没有GBK选项,可百度"linux添加中文字符集"); 2 其次检查乱码文件的编码,右键文件 Properties>Resource 如果像笔者一 阅读全文
摘要:
java实现的AC自动机算法1 构建TrieTreepackage com.grayzlp.ac;import java.util.HashSet;import java.util.Queue;import java.util.concurrent.ArrayBlockingQueue;public... 阅读全文
摘要:
public class Main { //测试函数 public static void main(String[] args) { final int LENGTH=50; int[] a=new int[LENGTH]; a[0]=1; for(int i=1;i1){ i... 阅读全文
|