QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#155105#6409. Classical Data Structure Problemquasar#WA 2ms6040kbC++233.2kb2023-09-01 10:59:592023-09-01 10:59:59

详细

Test #1:

score: 100
Accepted
time: 2ms
memory: 5888kb

input:

5 2
2 1
1 3
3 2
1 0
0 2

output:

87

result:

ok 1 number(s): "87"

Test #2:

score: 0
Accepted
time: 2ms
memory: 5956kb

input:

1 1
1 1

output:

1

result:

ok 1 number(s): "1"

Test #3:

score: 0
Accepted
time: 2ms
memory: 5828kb

input:

1 2
3 1

output:

3

result:

ok 1 number(s): "3"

Test #4:

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

input:

1 5
31 15

output:

17

result:

ok 1 number(s): "17"

Test #5:

score: -100
Wrong Answer
time: 2ms
memory: 6040kb

input:

1 20
366738 218765

output:

0

result:

wrong answer 1st numbers differ - expected: '147974', found: '0'