QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#437425 | #6502. Disjoint Set Union | egypt_ioi2024_02 | WA | 1ms | 3700kb | C++20 | 2.2kb | 2024-06-09 10:24:18 | 2024-06-09 10:24:19 |
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: 3700kb
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 7 1 1 1 2 1 3 2 1 2 1 2 1 1 1 3 YES 13 1 1 1 2 1 3 1 4 2 3 2 1 1 1 2 1 3 1 4 2 2 1 1 1 1 2 1 3 YES 23 1 1 1 2 1 3 1 4 1 5 2 1 2 1 2 1 1 1 3 1 4 1 5 2 2 3 1 3 1 2 1 4 1 5 2 3 4 1 4 1 3 1 5 2 4 5 1 5 1 4 NO YES 28 1 1 1 2 1 3 1 4 1 5 1 6 2 2 5 1 1 1 4 1 5 1 2 1 3 1 6 2 6 2 1 1 1 4 1 5 1 2 1 3 2 5 ...
result:
wrong answer f[6] = 5, but expected 2 (test case 5)