QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#364707#6396. Puzzle: Kusabiucup-team2253WA 5ms17912kbC++173.4kb2024-03-24 16:10:572024-03-24 16:10:57

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 5ms
memory: 17680kb

input:

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

output:

YES
5 4
8 6

result:

ok Correct.

Test #2:

score: 0
Accepted
time: 2ms
memory: 17876kb

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
9 8
10 3
5 2
6 7

result:

ok Correct.

Test #3:

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

input:

2
2 1 Tong

output:

x=1
NO

result:

wrong answer YES or NO expected in answer, but X=1 found.