摘要:
http://poj.org/problem?id=1011&lang=default&change=true 1 import java.io.BufferedReader; 2 import java.io.InputStreamReader; 3 import java.util.Arrays; 4 import java.util.StringTokenizer; 5 6 public class Main { 7 static boolean[] used; 8 static int len; 9 static int[] s; 10 ... 阅读全文
摘要:
ACM and JAVA POJ 解题报告http://www.java3z.com/cwbwebhome/acm_report.jspACM之java速成http://www.java3z.com/cwbwebhome/article/article19/res007.htmlACM 比赛中对编程语言(JAVA)的感悟http://www.java3z.com/cwbwebhome/article/article19/res006.htmljava使用文件输入输出模板http://www.java3z.com/cwbwebhome/article/article19/res092.html 阅读全文
摘要:
POJ上的一些水题(可用来练手和增加自信)(poj3299,poj2159,poj2739,poj1083,poj2262,poj1503,poj3006,poj2255,poj3094)初期:一.基本算法:(1)枚举. (poj1753,poj2965)(2)贪心(poj1328,poj2109,poj2586)(3)递归和分治法.(4)递推.(5)构造法.(poj3295)(6)模拟法.(poj1068,poj2632,poj1573,poj2993,poj2996)二.图算法:(1)图的深度优先遍历和广度优先遍历.(2)最短路径算法(dijkstra,bellman-ford,floyd 阅读全文