QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#38147 | #832. Best Tree | GuanYunchang | WA | 26ms | 3760kb | C++11 | 471b | 2022-07-04 12:12:11 | 2022-07-04 12:12:12 |
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: 100
Accepted
time: 0ms
memory: 3760kb
input:
2 10 1 1 2 2 2 2 2 2 2 2 5 4 1 1 1 1
output:
5 1
result:
ok 2 tokens
Test #2:
score: 0
Accepted
time: 2ms
memory: 3752kb
input:
1 2 1 1
output:
1
result:
ok "1"
Test #3:
score: 0
Accepted
time: 26ms
memory: 3732kb
input:
66666 3 1 2 1 3 1 2 1 3 1 2 1 3 1 1 2 3 2 1 1 3 1 2 1 3 1 1 2 3 1 1 2 3 2 1 1 3 2 1 1 3 1 1 2 3 1 1 2 3 1 2 1 3 1 1 2 3 1 1 2 3 1 2 1 3 1 1 2 3 1 1 2 3 1 2 1 3 2 1 1 3 2 1 1 3 1 1 2 3 2 1 1 3 2 1 1 3 1 1 2 3 1 2 1 3 2 1 1 3 2 1 1 3 1 1 2 3 1 1 2 3 1 1 2 3 1 1 2 3 1 2 1 3 2 1 1 3 2 1 1 3 1 1 2 3 1 1 ...
output:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
result:
ok 66666 tokens
Test #4:
score: 0
Accepted
time: 19ms
memory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