QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#438135#6502. Disjoint Set Unionegypt_ioi2024_02WA 1ms3712kbC++202.9kb2024-06-10 10:19:452024-06-10 10:19:47

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 3712kb

input:

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

output:

YES
YES
YES
NO
YES

result:

wrong output format Expected integer, but "YES" found (test case 1)