79111981

Date: 2024-10-21 23:08:31
Score: 0.5
Natty:
Report link
import kotlin.random.Random


fun main() {
    // creates an instance of ArrayList<Int!>
    val list = ArrayList(List(10) { Random.nextInt() })
}

Verified on Kotlin v2.0.20

Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: nakhodkin