QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#111627 | #6502. Disjoint Set Union | Fantasy_Ball | WA | 2ms | 5708kb | C++14 | 1.6kb | 2023-06-07 19:43:23 | 2023-06-07 19:43:27 |
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: 2ms
memory: 5708kb
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 1 1 1 1 2 1 2 YES 1 2 1 3 1 4 1 2 1 3 1 4 2 3 2 1 2 1 3 1 4 1 2 1 3 2 2 1 1 3 YES 1 1 1 2 1 3 1 4 1 1 1 2 1 3 1 4 2 1 2 1 2 1 3 1 4 2 2 3 1 3 1 4 2 3 4 1 4 2 4 5 NO YES 1 2 1 3 1 4 1 5 1 6 1 2 1 3 1 4 1 5 1 6 1 2 1 3 1 4 1 5 1 6 2 6 2 1 2 1 3 1 4 1 5 2 2 5 1 2 1 3 1 4 1 5 2 5 4 1 2 1 4 2 4 1 1 2
result:
wrong answer f[1] = 1, but expected 2 (test case 1)