Uknow's Lab.
article thumbnail

https://www.acmicpc.net/problem/9316

 

9316번: Hello Judge

한 줄에 하나의 Hello World, Judge i! 를 출력한다.

www.acmicpc.net

 

난이도 : 브론즈 4
태그 : 구현

 

 

1. 설명

숫자 n을 입력받으면, n개에 줄에 걸쳐 Hello World, Judge {n}! 을 출력하면 되는 문제입니다.

 

 

2. 소스코드

<kotlin />
fun main() { val n = readLine()!!.toInt() repeat(n) { println("Hello World, Judge ${it + 1}!") } }

 

profile

Uknow's Lab.

@유노 Uknow

인생은 Byte와 Double 사이 Char다. 아무말이나 해봤습니다.