QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#431207 | #6502. Disjoint Set Union | egypt_ioi2024_11 | WA | 1ms | 3568kb | C++23 | 1.7kb | 2024-06-05 05:37:20 | 2024-06-05 05:37:21 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 1ms
memory: 3568kb
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 3 1 1 2 1 2 1 1 YES 9 1 2 1 3 1 4 2 3 1 1 3 2 4 2 1 4 2 2 1 1 2 YES 12 1 1 1 2 1 3 1 4 2 1 2 1 1 2 2 3 1 2 2 3 4 1 3 2 4 5 1 4 NO YES 15 1 2 1 3 1 4 1 5 1 6 2 6 2 1 6 2 2 1 1 2 2 3 5 1 3 2 5 4 1 5 2 4 1 1 4
result:
wrong answer f[1] = 2, but expected 1 (test case 2)