网络编码器 输入 结果 3 [2,3,1] 5 [4,2,1,3,5] package com.example.myapp.Kotlin import java.util.Scanner fun main ( args : Array < String>) { var i : Int = 1 var value : Int var mList = mutableListOf < Int> ( 0 ) val scan = Scanner ( System .` in `) print ( " size is " ) val size = scan.nextInt