Testcase AC (Beta)

제출 #44679

제출 정보

언어:Python 3
상태:완료
실행 시간:3218 ms

제출 결과

정답 개수:

0

틀린 개수:

6

실행 실패 개수:

4

제출 코드

찾은 반례

입력:

1
9 7 7
4 4
6 2
8 1
1 1
7 0
5 4
0 2

오답 출력:

[0, 0, 0, 0, 0, 0, 0, 0, 0]
[0, 0, 0, 0, 0, 0, 0, 0, 0]
[0, 0, 0, 0, 0, 0, 0, 0, 0]
[0, 0, 0, 0, 0, 0, 0, 0, 0]
[0, 0, 0, 0, 0, 0, 0, 0, 0]
[0, 0, 0, 0, 0, 0, 0, 0, 0]
[0, 0, 0, 0, 0, 0, 0, 0, 0]
4

정답 출력:

6

입력:

1
3 7 8
2 4
0 4
0 0
2 0
0 6
0 2
2 6
2 2

오답 출력:

[0, 0, 0]
[0, 0, 0]
[0, 0, 0]
[0, 0, 0]
[0, 0, 0]
[0, 0, 0]
[0, 0, 0]
4

정답 출력:

8

입력:

1
5 7 12
4 4
2 4
4 0
0 4
0 0
4 6
2 0
4 2
0 6
0 2
2 6
2 2

오답 출력:

[0, 0, 0, 0, 0]
[0, 0, 0, 0, 0]
[0, 0, 0, 0, 0]
[0, 0, 0, 0, 0]
[0, 0, 0, 0, 0]
[0, 0, 0, 0, 0]
[0, 0, 0, 0, 0]
4

정답 출력:

12

입력:

1
2 2 3
1 0
1 1
0 0

오답 출력:

런타임 에러 (RTE)
stderr:
Traceback (most recent call last): File "Main.py", line 23, in <module> if land[i][j] == 1 and visited[i][j] == False: IndexError: list index out of range

정답 출력:

1

입력:

1
5 3 6
0 2
1 2
2 2
3 2
4 2
4 0

오답 출력:

런타임 에러 (RTE)
stderr:
Traceback (most recent call last): File "Main.py", line 23, in <module> if land[i][j] == 1 and visited[i][j] == False: IndexError: list index out of range

정답 출력:

2

입력:

1
7 3 11
0 1
1 2
2 1
3 1
1 1
2 0
3 0
2 2
1 0
3 2
4 1

오답 출력:

런타임 에러 (RTE)
stderr:
Traceback (most recent call last): File "Main.py", line 23, in <module> if land[i][j] == 1 and visited[i][j] == False: IndexError: list index out of range

정답 출력:

1