import java.util.ArrayList;
import java.util.Scanner;
public class Solution {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
for (int i = 0; i < a; i++) {
System.out.print("#");
}
}
}
이건 너무 쉽잖아!
'알고리즘 > 문제 풀이' 카테고리의 다른 글
SW Expert Academy 2029 몫과 나머지 출력하기 (0) | 2023.05.05 |
---|---|
SW Expert Academy 2043 서랍의 비밀번호 (0) | 2023.05.05 |
SW Expert Academy 2047 신문 헤드라인 (0) | 2023.05.04 |
SW 2047 신문 헤드라인 (0) | 2023.05.04 |
SW Academy D1 - 연월일 달력 (0) | 2023.05.04 |