Testcase AC (Beta)

제출 #46254

제출 정보

문제:AC
언어:C++20
상태:완료
실행 시간:2187 ms

제출 결과

정답 개수:

0

틀린 개수:

10

실행 실패 개수:

0

제출 코드

비공개 코드입니다. 코드 작성자만 볼 수 있습니다.

찾은 반례

입력:

3
DDDR
3
[3,4,8]
RR
3
[8,11,7]
RRRD
2
[18,94]

오답 출력:

start:1end:2forward:1
start:2end:2forward:1
start:3end:2forward:1
start:3end:2forward:0
[]
start:0end:2forward:0
start:0end:2forward:1
[8,11,7]
start:0end:1forward:0
start:0end:1forward:1
start:0end:1forward:0
start:0end:0forward:0
[18]

정답 출력:

[]
[8,11,7]
[18]

입력:

3
DDR
7
[93,98,96,94,93,94,97]
DDRDD
3
[62,48,12]
RR
6
[63,38,67,14,43,47]

오답 출력:

start:1end:6forward:1
start:2end:6forward:1
start:2end:6forward:0
[97,94,93,94,96]
start:1end:2forward:1
start:2end:2forward:1
start:2end:2forward:0
start:2end:1forward:0
error
start:0end:5forward:0
start:0end:5forward:1
[63,38,67,14,43,47]

정답 출력:

[97,94,93,94,96]
error
[63,38,67,14,43,47]

입력:

3
RDDD
10
[23,49,90,51,19,95,55,71,25,35]
DDR
5
[96,51,35,31,21]
D
4
[91,97,100,90]

오답 출력:

start:0end:9forward:0
start:0end:8forward:0
start:0end:7forward:0
start:0end:6forward:0
[55,95,19,51,90,49,23]
start:1end:4forward:1
start:2end:4forward:1
start:2end:4forward:0
[21,31,35]
start:1end:3forward:1
[97,100,90]

정답 출력:

[55,95,19,51,90,49,23]
[21,31,35]
[97,100,90]