QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#43588 | #4544. Weighted Beautiful Tree | larryzhong | AC ✓ | 546ms | 33240kb | C++17 | 1.6kb | 2022-08-09 19:25:03 | 2022-08-09 19:25:03 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Test #1:
score: 100
Accepted
time: 546ms
memory: 33240kb
input:
1000 3 2 1 2 9 9 10 1 2 10 1 3 11 3 1 1 2 9 9 10 1 2 10 1 3 11 99991 914575 436426 979445 648772 690081 933447 190629 703497 47202 407775 894325 963982 804784 968417 302156 631932 735902 895728 78537 723857 330739 286918 329211 539679 238506 63340 686568 361868 660016 287940 296263 224593 601449 836...
output:
3 2 7472540655778111 7473294329562293 8345692029003633 7238550879556940 7841133629861454 4971153421 8181537378 1893424 8143454283 9109290590 11153093754 528748866106540 2081626582 856886106916260 9930470 22231658010804 15244442281704 523150824 0 14045371538269 37592337 45122406677153 184107700398848...
result:
ok 1000 lines