QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#107716#6396. Puzzle: KusabiDianasDog#WA 2ms5584kbC++3.9kb2023-05-22 17:06:222023-05-22 17:06:26

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 2ms
memory: 5584kb

input:

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

output:

8 1 8
7 1 8
6 -1 6
3 0 0
5 2 5
4 2 4
2 0 0
YES
6 8
5 4

result:

wrong answer YES or NO expected in answer, but 8 found.