7 lines
127 B
Kotlin
Vendored
7 lines
127 B
Kotlin
Vendored
// IS_APPLICABLE: false
|
|
|
|
fun Boolean.toInt() = if (this) 1 else 0
|
|
|
|
fun test(x: Int, y: Int): Int {
|
|
return (x > y).toInt()
|
|
} |