백준 - 2908 상수
문제
2908 상수
답
kotlin code
1
2
3
4
5
6
7
8
9
10
11
12
import java.util.*
fun main() {
    q2908()
}
fun q2908() = with(Scanner(System.`in`)) {
    val inputList = List(2){next()}
    val inputReverseIntList = inputList.map { input -> input.reversed().toInt() }
    println(inputReverseIntList.maxOf { it })
}
 This post is licensed under  CC BY 4.0  by the author.
