RFC

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2012年3月6日

摘要: POJ1083import java.util.Scanner;public class _1083 { public static final int MAX = 400; public static void main(String[] args) { int from, to, max_time; int times[] = new int[MAX + 1]; Scanner sc = new Scanner(System.in); int count = sc.nextInt(); whi... 阅读全文
posted @ 2012-03-06 23:20 hongxuchen 阅读(178) 评论(0) 推荐(0) 编辑

摘要: POJ2739 1 import java.util.Scanner; 2 3 public class _2739 { 4 public static final int MAX = 10001; 5 private static boolean[] com = new boolean[MAX]; 6 7 public static void findPrime() { 8 for (int i = 2; i * i <= MAX; i++) { 9 if (!com[i]) {10 for ... 阅读全文
posted @ 2012-03-06 20:22 hongxuchen 阅读(204) 评论(0) 推荐(0) 编辑

摘要: POJ2159import java.util.Arrays;import java.util.Scanner;public class _2159 { public static void main(String[] args){ String first,second; Scanner sc = new Scanner(System.in); while(sc.hasNextLine()){ int cnt1[] = new int[26]; int cnt2[] = new int... 阅读全文
posted @ 2012-03-06 00:21 hongxuchen 阅读(135) 评论(0) 推荐(0) 编辑

无觅相关文章插件,快速提升流量