QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#380155#8047. DFS Order 4txl16211TL 1753ms24284kbC++171.3kb2024-04-06 21:19:012024-04-06 21:19:02

詳細信息

Test #1:

score: 100
Accepted
time: 4ms
memory: 20260kb

input:

4 114514199

output:

2

result:

ok 1 number(s): "2"

Test #2:

score: 0
Accepted
time: 8ms
memory: 20836kb

input:

10 998244353

output:

11033

result:

ok 1 number(s): "11033"

Test #3:

score: 0
Accepted
time: 20ms
memory: 20120kb

input:

100 1000000007

output:

270904395

result:

ok 1 number(s): "270904395"

Test #4:

score: 0
Accepted
time: 1753ms
memory: 24284kb

input:

756 1001338769

output:

901942543

result:

ok 1 number(s): "901942543"

Test #5:

score: -100
Time Limit Exceeded

input:

793 1009036033

output:

301770320

result: