문제
3052 나머지
답
kotlin code
import java.util.*
fun main() {
q3052()
}
fun q3052() = with(Scanner(System.`in`)) {
println(Array(10) {nextInt() % 42}.toSet().count())
}
import java.util.*
fun main() {
q3052()
}
fun q3052() = with(Scanner(System.`in`)) {
println(Array(10) {nextInt() % 42}.toSet().count())
}