Post

[백준/코틀린] 10952번: A+B - 5

브론즈 5

링크

10952번: A+B - 5

풀이

생략

코드

1
2
3
4
5
6
7
8
9
fun main() {
    while (true) {
        val (a, b) = readln().split(" ").map { it.toInt() }
            .also { if (it[0] == 0 && it[1] == 0) return }

        println(a + b)
    }
}

This post is licensed under CC BY 4.0 by the author.