firstOrNull() ?: throw IllegalArgumentException(“Empty array”) for (i in 1..numbers.lastIndex) result += numbers[i] return result } fun main() ...
確定! 回上一頁