2011-06-17 12:25:33Morris

[JAVA] a001. 哈囉

JAVA試手
/**********************************************************************************/

/*  Problem: a001 "哈囉" from Brian Kernighan                                   */
/*  Language: JAVA                                                                */
/*  Result: AC (106ms, 5624KB) on ZeroJudge                                       */
/*  Author: new1028 at 2011-06-17 08:47:07                                        */
/**********************************************************************************/


import java.util.Scanner;
public class first {
    public static void main(String[] args) {
        Scanner cin = new Scanner(System.in);
        String s;
        while(cin.hasNext()) {
            s = cin.nextLine();
            System.out.println("hello, " + s);
        }
    }
}