GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — JavaInterview/java/src/BiShi/Test_01_HUaWei_02.java at master · damaohongtu/JavaInterview Expand file tree/ Copy pathTest_01_HUaWei_02.javaMore file actions 26 lines (23 loc) · 680 Bytes / Copy pathTest_01_HUaWei_02.javaFile metadata and controls26 lines (23 loc) · 680 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 package BiShi; import java.util.Scanner; /** * @Classname Test_01_HUaWei_02 * @Description TODO * @Date 19-4-3 下午5:04 * @Created by mao<[email protected]> */ public class Test_01_HUaWei_02 { public static void main(String[] args){ Scanner sc2 =new Scanner(System.in); Scanner sc1 = new Scanner(System.in); System.out.println(sc2.nextInt()); System.out.println("----------------------"); while (sc1.hasNext()){ String s = sc1.nextLine(); String[] num=s.split(" "); for(int i=0;i<num.length;i++){ System.out.println(Integer.parseInt(num[i])); } } } } |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |