#14949: Java


a0970580085@gmail.com (/)

學校 : 義守大學
編號 : 74647
來源 : [125.229.235.114]
最後登入時間 :
2023-08-30 17:36:04
c291. APCS 2017-0304-2小群體 -- 2017年3月APCS | From: [111.254.221.220] | 發表日期 : 2018-08-19 22:15

Java 用遞迴解的話,可能會出現 java.lang.StackOverflowError 

通過檢測
通過檢測
通過檢測
通過檢測
通過檢測
通過檢測
通過檢測
通過檢測
通過檢測
通過檢測
通過檢測
通過檢測
通過檢測
通過檢測

#14: 5% AC (0.1s, 5MB)

通過檢測

#15: 5% AC (0.1s, 4MB)

通過檢測

#16: 5% RE (code:1)

您的程式被監控系統中斷,可能是程式無法正常結束所導致。
Exception in thread "main" java.lang.StackOverflowError
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)...訊息太長省略。

#17: 5% RE (code:1)

您的程式被監控系統中斷,可能是程式無法正常結束所導致。
Exception in thread "main" java.lang.StackOverflowError
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)
	at c291.dfs(c291.java:41)...訊息太長省略。
通過檢測
通過檢測
 
ZeroJudge Forum