fun main val n=readLine!!toInt val s ListInt =readLine!!split mapStringtoInt var ans=0 var st=0 fori in 0 until n ifi!=0 && si!=si-1 ifstans ans=st st=1
I'm sorry to hear that you encountered runtime errors. Can you provide more information about the error message or describe the problem you are trying to solve?
原文地址: https://www.cveoy.top/t/topic/ifGK 著作权归作者所有。请勿转载和采集!