CS/Algorithm

[알고리즘] 그대로 출력하기

별토끼. 2017. 10. 19. 01:33
반응형

[알고리즘] 그대로 출력하기


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import java.util.Scanner;
 
public class java11718 {
    public static void main(String args[]){
 
        Scanner scan = new Scanner(System.in);
 
        while (scan.hasNextLine()) {
 
            String input_text = scan.nextLine();
 
            if (!(input_text.isEmpty() | input_text.length() > 100)){
 
                System.out.println(input_text);
 
            }
 
        }
 
    }
 
}
 
cs


반응형