공부하는 히욤이

2046. 스탬프 찍기 본문

Algorithm/SW Expert Academy

2046. 스탬프 찍기

히욤이 2019. 1. 9. 23:41

SW Expert 2046.스탬프 찍기

문제의 저작권은 SW Expert에 있습니다 


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import java.util.Scanner;
 
public class Solution {
 
    public static void main(String[] args) {
 
        int input = (new Scanner(System.in).nextInt());
        String s = "#";
        if (input<=100000) {
            for (int i = 0; i < input; i++) {
                System.out.print(s);
            }
        }
    }
 
}
cs


'Algorithm > SW Expert Academy' 카테고리의 다른 글

1938. 아주 간단한 계산기  (0) 2019.01.10
2058.자릿수 더하기  (0) 2019.01.10
2047. 신문 헤드라인  (0) 2019.01.10
1936. 1대1 가위바위보  (0) 2019.01.10
2025. N줄덧셈  (0) 2019.01.09