CS/Algorithm
[알고리즘] 그대로 출력하기2
별토끼.
2017. 10. 19. 02:08
반응형
[알고리즘] 그대로 출력하기2
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | import java.util.Scanner; public class java11719 { public static void main(String[] args) { Scanner scan = new Scanner(System.in); while(scan.hasNext()) { String input_text=scan.nextLine(); if(!(input_text.length() > 100)) { System.out.println(input_text); } } } } | cs |
반응형