上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 16 下一页
摘要: 题目链接:https://vjudge.net/problem/POJ-2531 最大流-最小割问题: https://wenku.baidu.com/view/54323c030722192e4536f64f.html 题意:给出n个点(0-n-1),接下来n行,每行有n个数,第i行代表第i-1个 阅读全文
posted @ 2019-01-27 11:48 里昂静 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://poj.org/problem?id=3414 参考博客:https://blog.csdn.net/tigerisland45/article/details/52208174 代码实现: 阅读全文
posted @ 2019-01-26 21:07 里昂静 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://poj.org/problem?id=2488 题目解读:首先得弄清楚国际象棋中关于“马走日”的规则,如上图中的马,它的下一步的走法有8中,所以对每一个位置的马,它所能走的8个方向坐标设置为 dir[8][2]= {{-1,-2},{1,-2},{-2,-1},{2,-1}, 阅读全文
posted @ 2019-01-26 20:17 里昂静 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 详见转载博客:https://www.cnblogs.com/wzl19981116/p/9397203.html 1.dfs(深度优先搜索)是两个搜索中先理解并使用的,其实就是暴力把所有的路径都搜索出来,它运用了回溯,保存这次的位置,深入搜索,都搜索完了便回溯回来,搜下一个位置,直到把所有最深位置 阅读全文
posted @ 2019-01-26 16:34 里昂静 阅读(2243) 评论(1) 推荐(1) 编辑
摘要: 正则表达式之Pattern和Matcher,请参见转载博客 http://www.cnblogs.com/haodawang/p/5967219.html 代码实现: 阅读全文
posted @ 2019-01-02 20:45 里昂静 阅读(2867) 评论(0) 推荐(0) 编辑
摘要: 代码实现: 阅读全文
posted @ 2019-01-02 20:31 里昂静 阅读(6967) 评论(0) 推荐(0) 编辑
摘要: 1、Runtime: 2、Properties(): 3、ArrayCopy 阅读全文
posted @ 2019-01-02 20:29 里昂静 阅读(299) 评论(0) 推荐(0) 编辑
摘要: 1 import java.awt.CardLayout; 2 import java.awt.Color; 3 import java.awt.Container; 4 5 import javax.swing.JButton; 6 import javax.swing.JFrame; 7 8 public class CardLayoutDemo { 9 pub... 阅读全文
posted @ 2019-01-02 20:22 里昂静 阅读(971) 评论(0) 推荐(0) 编辑
摘要: 计算器: 抽奖: 阅读全文
posted @ 2019-01-02 20:21 里昂静 阅读(425) 评论(0) 推荐(0) 编辑
摘要: 2、Java菜单: 阅读全文
posted @ 2019-01-02 20:16 里昂静 阅读(1031) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 16 下一页