백준 - 3052 나머지
문제
3052 나머지
답
kotlin code
1
2
3
4
5
6
7
8
9
import java.util.*
fun main() {
q3052()
}
fun q3052() = with(Scanner(System.`in`)) {
println(Array(10) {nextInt() % 42}.toSet().count())
}
This post is licensed under CC BY 4.0 by the author.