QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#660303#5301. Modulo Ruins the LegendZhaoZiLongTL 104ms3664kbC++20801b2024-10-20 10:12:372024-10-20 10:12:37

詳細信息

Test #1:

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

input:

6 24
1 1 4 5 1 4

output:

1
15 3

result:

ok ok

Test #2:

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

input:

7 29
1 9 1 9 8 1 0

output:

0
0 0

result:

ok ok

Test #3:

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

input:

1 1
0

output:

0
0 0

result:

ok ok

Test #4:

score: 0
Accepted
time: 104ms
memory: 3540kb

input:

1 1000000000
963837005

output:

0
0 36162995

result:

ok ok

Test #5:

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

input:

2 1
0 0

output:

0
0 0

result:

ok ok

Test #6:

score: -100
Time Limit Exceeded

input:

2 1000000000
948507269 461613424

output:


result: