QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#108251 | #3171. Rooted Subtrees | ZhaoZiLong | WA | 598ms | 30916kb | C++17 | 1.4kb | 2023-05-24 01:58:16 | 2023-05-24 01:58:18 |
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: 2ms
memory: 8268kb
input:
5 2 1 2 2 3 2 4 4 5 1 3 4 5
output:
8 6
result:
ok 2 lines
Test #2:
score: -100
Wrong Answer
time: 598ms
memory: 30916kb
input:
200000 200000 2 1 3 2 4 2 5 2 6 5 7 1 8 1 9 1 10 4 11 8 12 6 13 11 14 2 15 5 16 12 17 7 18 15 19 13 20 12 21 19 22 9 23 19 24 17 25 18 26 23 27 2 28 17 29 16 30 7 31 28 32 2 33 28 34 16 35 34 36 13 37 24 38 9 39 38 40 14 41 14 42 31 43 22 44 35 45 38 46 38 47 24 48 42 49 48 50 9 51 32 52 40 53 22 54...
output:
200025 200027 200027 200031 200027 200031 200023 200031 200031 200035 200025 200019 200039 200023 200023 200027 200031 200029 200027 200035 200025 200023 200031 200031 200033 200027 200017 200033 200033 200027 200017 200029 200017 200037 200033 200043 200037 200027 200033 200021 200037 200017 200039...
result:
wrong answer 1st lines differ - expected: '200153', found: '200025'