QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#426156 | #6502. Disjoint Set Union | egypt_ioi2024_07 | WA | 2ms | 7724kb | C++23 | 2.0kb | 2024-05-30 21:47:55 | 2024-05-30 21:47:56 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Test #1:
score: 0
Wrong Answer
time: 2ms
memory: 7724kb
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 4 1 3 2 1 2 1 1 1 2 YES 11 1 3 2 1 2 1 1 1 2 2 3 2 1 4 1 1 2 2 1 1 2 2 3 1 1 3 YES 20 1 1 2 2 1 1 2 2 3 1 1 3 2 1 2 1 1 1 2 2 4 2 1 4 2 1 2 1 1 2 3 4 1 3 1 3 2 2 3 1 2 2 4 5 1 4 1 5 NO YES 32 1 1 2 2 1 1 2 2 2 1 1 3 1 1 1 1 2 2 1 1 2 2 4 1 1 4 2 4 5 1 4 1 5 1 5 2 2 5 1 3 2 1 2 1 1 1 2 2 4 2 1 4 ...
result:
wrong answer f[1] = 2, but expected 1 (test case 2)