QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#242762#6396. Puzzle: Kusabiucup-team1281#WA 0ms9252kbC++231.7kb2023-11-07 16:52:112023-11-07 16:52:11

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 9252kb

input:

8
2 1 -
3 1 -
4 2 Tong
5 2 Tong
6 3 Duan
7 3 -
8 7 Chang

output:

YES
4 5
6 8

result:

ok Correct.

Test #2:

score: -100
Wrong Answer
time: 0ms
memory: 9000kb

input:

10
2 1 Duan
3 2 Duan
4 2 -
5 4 Chang
6 2 Chang
7 1 Duan
8 6 Tong
9 6 Tong
10 3 Chang

output:

YES
3 10
2 5
6 8
9 7

result:

wrong answer Pair 6-8 symbol not satisfied.