上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页
摘要: 题目: As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scattered cities connected by som 阅读全文
posted @ 2023-10-21 16:22 fishcanfly 阅读(46) 评论(0) 推荐(0)
摘要: -2^ 31的补码是-0.也就是 1000 0000 0000 0000 0000 0000 0000 0000 补码是原码取反加1 x&(-x) 是最低位为1的位为1,其余位为0. 中国剩余定理: m1,m2,.....,mn相互互质。 x=a1(modm1) x=a2(modm2) ... x= 阅读全文
posted @ 2023-10-16 20:20 fishcanfly 阅读(34) 评论(0) 推荐(0)
摘要: AC自动机 KMP tarjan算法 阅读全文
posted @ 2023-07-26 16:33 fishcanfly 阅读(15) 评论(0) 推荐(0)
摘要: class MyCalendar { class Seg { int l; int r; boolean val; Seg left; Seg right; public Seg(int x, int y) { this.l = x; this.r = y; this.val = false; th 阅读全文
posted @ 2023-07-11 16:25 fishcanfly 阅读(22) 评论(0) 推荐(0)
摘要: 前缀和 二分查找 打表枚举 代码如下 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.StreamTokenizer; import 阅读全文
posted @ 2023-07-01 22:23 fishcanfly 阅读(22) 评论(0) 推荐(0)
摘要: 0-1背包,完全背包0-1背包,完全背包0-1背包,完全背包0-1背包,完全背包0-1背包,完全背包0-1背包,完全背包 阅读全文
posted @ 2023-06-20 08:22 fishcanfly 阅读(22) 评论(0) 推荐(0)
摘要: 哈密尔顿路径哈密尔顿路径哈密尔顿路径哈密尔顿路径哈密尔顿路径哈密尔顿路径哈密尔顿路径哈密尔顿路径 阅读全文
posted @ 2023-06-20 08:21 fishcanfly 阅读(32) 评论(0) 推荐(0)
摘要: 记忆化搜索、记忆化搜索、记忆化搜索、记忆化搜索 阅读全文
posted @ 2023-06-20 08:21 fishcanfly 阅读(20) 评论(0) 推荐(0)
摘要: import java.io.*; import java.util.HashSet; import java.util.Set; /** * @author fishcanfly */ public class Main { public static void main(String[] arg 阅读全文
posted @ 2023-05-26 14:45 fishcanfly 阅读(19) 评论(1) 推荐(0)
摘要: import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /** * @author fishcanfly */ public class Main { /** * mai 阅读全文
posted @ 2022-12-11 16:04 fishcanfly 阅读(58) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页
//雪花飘落效果