Testcase AC (Beta)

제출 #47128

제출 정보

언어:Java 11
상태:완료
실행 시간:29975 ms

제출 결과

정답 개수:

90

틀린 개수:

1

실행 실패 개수:

9

제출 코드

찾은 반례

입력:

1

오답 출력:

1

정답 출력:

0

입력:

578508

오답 출력:

런타임 에러 (RTE)
stderr:
Exception in thread "main" java.lang.StackOverflowError at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recurs(...truncated, total 33847 characters)

정답 출력:

18

입력:

725970

오답 출력:

런타임 에러 (RTE)
stderr:
Exception in thread "main" java.lang.StackOverflowError at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recurs(...truncated, total 33847 characters)

정답 출력:

21

입력:

765555

오답 출력:

런타임 에러 (RTE)
stderr:
Exception in thread "main" java.lang.StackOverflowError at Main.recursive(Main.java:29) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recursive(Main.java:30) at Main.recurs(...truncated, total 33847 characters)

정답 출력:

21