QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#138910 | #6502. Disjoint Set Union | HuangHanSheng | WA | 91ms | 3828kb | C++14 | 2.7kb | 2023-08-12 13:51:52 | 2023-08-12 13:51:53 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Test #1:
score: 100
Accepted
time: 1ms
memory: 3828kb
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 2 1 2 YES 4 2 3 2 1 4 2 2 1 1 3 YES 4 2 1 2 2 2 3 2 3 4 2 4 5 NO YES 7 2 6 2 2 2 5 1 3 2 5 4 1 2 2 4 1 1 2
result:
ok good! (YES count = 4, NO count = 1) (5 test cases)
Test #2:
score: -100
Wrong Answer
time: 91ms
memory: 3760kb
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 2 2 1 2 1 5 YES 0 YES 5 2 2 4 2 3 4 1 5 2 4 1 1 5 YES 2 2 3 2 1 5 YES 0 YES 2 2 1 5 2 2 3 YES 3 2 2 4 2 3 1 2 5 4 YES 1 2 5 2 YES 1 2 2 3 YES 3 2 1 2 2 3 4 1 5 YES 1 2 1 5 YES 3 2 1 5 1 3 2 4 5 YES 3 2 3 5 2 4 5 2 5 1 YES 5 2 4 3 1 2 2 3 1 1 2 1 5 YES 4 2 1 5 1 4 2 2 5 2 3 5 YES 4 2 2 1 2 3 1 2 ...
result:
wrong answer you didn't find a solution but jury did (test case 5184)