随笔分类 -  java

java learning
摘要:字符操作 import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; public class hello3 { public static void main(String[] args) { 阅读全文
posted @ 2020-12-02 22:09 xlinsist 阅读(75) 评论(0) 推荐(0)
摘要://优先队列 static Comparator<Integer> cmp = new Comparator<Integer>() { public int compare(Integer e1, Integer e2) { return e2 - e1; } }; //Arrays.sort(a, 阅读全文
posted @ 2020-07-31 22:33 xlinsist 阅读(247) 评论(0) 推荐(0)
摘要:template import java.io.*; import java.util.*; public class Main { FastScanner in; PrintWriter out; long mod = 998_244_353L; // (long) 1e9 + 7 || (lon 阅读全文
posted @ 2020-07-15 16:31 xlinsist 阅读(153) 评论(0) 推荐(0)