QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#407473#8339. Rooted Treeucup-team1849TL 157ms37852kbC++141.1kb2024-05-08 19:30:192024-05-08 19:30:20

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 11840kb

input:

6 2

output:

18

result:

ok 1 number(s): "18"

Test #2:

score: 0
Accepted
time: 0ms
memory: 11776kb

input:

2 6

output:

600000038

result:

ok 1 number(s): "600000038"

Test #3:

score: 0
Accepted
time: 157ms
memory: 37852kb

input:

83 613210

output:

424200026

result:

ok 1 number(s): "424200026"

Test #4:

score: -100
Time Limit Exceeded

input:

48 6713156

output:


result: