QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#645248#8339. Rooted Treeucup-team4935#TL 1388ms3700kbC++20832b2024-10-16 17:22:472024-10-16 17:23:03

詳細信息

Test #1:

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

input:

6 2

output:

18

result:

ok 1 number(s): "18"

Test #2:

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

input:

2 6

output:

600000038

result:

ok 1 number(s): "600000038"

Test #3:

score: 0
Accepted
time: 127ms
memory: 3588kb

input:

83 613210

output:

424200026

result:

ok 1 number(s): "424200026"

Test #4:

score: 0
Accepted
time: 1388ms
memory: 3672kb

input:

48 6713156

output:

198541581

result:

ok 1 number(s): "198541581"

Test #5:

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

input:

1 111

output:

6216

result:

ok 1 number(s): "6216"

Test #6:

score: -100
Time Limit Exceeded

input:

28 7304152

output:

457266679

result: