QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#431210 | #6502. Disjoint Set Union | egypt_ioi2024_11 | WA | 121ms | 3560kb | C++23 | 2.0kb | 2024-06-05 05:52:02 | 2024-06-05 05:52:02 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Test #1:
score: 100
Accepted
time: 0ms
memory: 3560kb
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 4 2 1 4 2 2 1 1 2 2 3 1 1 3 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 3 5 1 3 2 5 4 1 5 2 2 1 1 2 2 4 1 1 4
result:
ok good! (YES count = 4, NO count = 1) (5 test cases)
Test #2:
score: -100
Wrong Answer
time: 121ms
memory: 3548kb
input:
100000 5 1 2 1 1 1 2 2 1 1 2 5 3 2 3 4 1 3 2 3 4 1 5 1 2 3 4 3 1 4 4 1 1 5 1 2 3 5 3 1 2 2 5 2 5 5 2 3 5 5 5 2 3 5 5 5 1 2 3 4 5 5 3 3 4 5 5 1 2 3 4 5 1 4 1 4 4 5 1 2 3 1 5 1 2 3 1 2 5 1 2 3 3 1 1 3 3 3 1 5 1 2 3 4 3 2 2 4 4 4 5 1 2 2 4 5 5 2 2 4 5 5 1 2 1 4 5 5 2 5 5 5 5 1 2 3 4 5 1 2 5 5 1 5 1 4 3...
output:
YES 6 1 1 1 5 2 5 2 1 5 2 1 2 1 1 YES 0 YES 12 1 2 1 3 1 4 1 5 2 2 4 1 2 2 5 1 1 5 2 3 4 1 3 2 4 1 1 4 YES 6 1 3 1 5 2 5 2 1 5 2 3 2 1 3 YES 0 YES 6 1 1 1 2 2 1 5 1 1 2 2 3 1 2 YES 9 1 2 1 3 1 5 2 2 4 1 2 2 3 1 1 3 2 5 4 1 5 YES 3 1 5 2 5 2 1 5 YES 3 1 2 2 2 3 1 2 YES 9 1 1 1 3 1 5 2 1 2 1 1 2 5 4 1...
result:
wrong answer f[1] = 4, but expected 1 (test case 3)