mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
7 lines
217 B
Kotlin
7 lines
217 B
Kotlin
data class A(val a: IntArray, var b: Array<String>)
|
|
|
|
fun box() : String {
|
|
if( A(intArray(1,2,3),array("239")).hashCode() != 31*java.util.Arrays.hashCode(intArray(0,1,2)) + "239".hashCode()) "fail"
|
|
return "OK"
|
|
}
|