#23246: 您的程式被監控系統中斷,可能是程式無法正常結束所導致。


eric811251o365.tcssh.tc.edu.tw ... (eric1002)

學校 : 國立臺中第二高級中學
編號 : 137867
來源 : [118.231.128.83]
最後登入時間 :
2024-03-21 11:22:54

package run; import java.util.*; public class Zerojudge { public static void main(String[] args) { Scanner enter = new Scanner(System.in); int a,b,c = 1,d = 0; b=enter.nextInt(); int array[]= new int [b]; Scanner num = new Scanner(System.in); for(int s=0;s<array.length;s++) { array[s]=num.nextInt(); } for(int e = b;e>0;e--) { while(array[b-e]!=0) { c=array[b-e]%10*c; array[b-e]=array[b-e]/10; } System.out.println(c); c=1; } } }

為什麼會出現下面那行字??

您的程式被監控系統中斷,可能是程式無法正常結束所導致。