优先队列 1classSolution {2func minBuildTime(_ blocks: [Int], _ split: Int) ->Int {3varpq = PriorityQueue<Int> { $0< $1}4forvinblocks5{6pq.push(v)7}8while(pq.count >=2)9{10let x:Int = pq.pop()!11let y:Int = pq.pop()!12pq.push(y +split)13}14returnpq.pop() ??01...
compileSdkVersion25//编译版本号buildToolsVersion'26.0.2'//构建工具版本dexOptions {// incremental truejavaMaxHeapSize"4g"preDexLibraries =false} defaultConfig { applicationId"com.app.xx"//包名minSdkVersion17//手机最低系统版本targetSdkVersion25//目标版本号versionCode2017122103//app版本号versionName"4.3....