hdu 1412 {A} + {B}
来源:互联网 发布:python 优点 编辑:程序博客网 时间:2024/04/28 19:10
http://acm.hdu.edu.cn/showproblem.php?pid=1412
/*2011-9-14author:BearFly1990*/package acm.hdu.tests;import java.io.BufferedInputStream;import java.util.Scanner;import java.util.Set;import java.util.TreeSet;public class HDU_1412 { public static void main(String[] args) { Scanner in = new Scanner(new BufferedInputStream(System.in)); Set<Integer> set = new TreeSet<Integer>(); while(in.hasNext()){ set.clear(); Integer n1 = in.nextInt(); Integer n2 = in.nextInt(); for(int i = 0 ; i < n1+n2; i++){ set.add(in.nextInt()); } int i = 0; for(Integer it : set){ i++; if(i == set.size())System.out.println(it); else System.out.printf("%d ",it); } } }}
- hdu 1412 {A} + {B}
- HDU 1412 {A}+{B}
- HDU 1412 ( {A} + {B} )
- HDU 1412 {A}+{B}
- HDU-1412{A}+{B}
- hdu 1412 {A} + {B}
- hdu 1412 {A} + {B}
- hdu-1412-{A}+{B}
- HDU 1412 {A} + {B}
- HDU 1412{A} + {B}
- HDU 1412 {A} + {B}
- hdu 1412 {A} + {B}
- HDU 1412 {A} + {B}
- hdu-1412-{A} + {B}
- hdu 1412 {A} + {B}
- HDU 1412 {A} + {B}
- HDU 1412-{A} + {B}
- hdu 1412{A} + {B}
- spring ioc原理
- CSS3圆角详解
- bishi
- Ubuntu下PHP配置与安全加强
- MAC通过MII总线控制PHY过程解析
- hdu 1412 {A} + {B}
- 用css的border属性实现tip三角
- 一、磁盘引导程序(2)
- 使用PowerShell 配置IIS7.0
- X680 25 Sequence类型标识
- [input] linux输入子系统(一)
- 纯CSS圆角框
- 全排列
- 探索式测试的一些小方法