QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#847410 | #4521. Tree Stands / Elves | nanika | AC ✓ | 376ms | 4884kb | C++20 | 1.9kb | 2025-01-07 22:43:34 | 2025-01-07 22:43:35 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Test #1:
score: 100
Accepted
time: 376ms
memory: 4884kb
input:
11 4 1 2 1 3 1 4 1 5 1 6 6 7 6 8 6 9 6 10 6 11 11 3 1 2 1 3 1 4 1 5 1 6 6 7 6 8 6 9 6 10 6 11 11 2 1 2 1 3 1 4 1 5 1 6 6 7 6 8 6 9 6 10 6 11 10 4 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 1 10 10 3 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 1 10 10 2 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 1 10 10 3 1 2 2 3 3 4 4 5 5 6 6 7 7 8 ...
output:
50 25 10 84 36 9 8 9 681 1861 28 521982816 12 287 12671723 71083134 1073998 469659 34780802 35183185 549035096 869853263 492215283 518028424 962794779 758236573 767100622 7414258 957732405 541121967 348779713 878892216 35901819 356220475 472512270 680410564 348061126 927333188 654346363 425320598 84...
result:
ok 11936 lines