QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#557883#8188. Halve & Mergeucup-team1005#WA 0ms3692kbC++203.0kb2024-09-11 11:51:282024-09-11 11:51:30

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4 3
4 3 2 1
2 1
2 1
1 2

output:

1

result:

ok 1 number(s): "1"

Test #2:

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

input:

5 7
4 3 5 2 1
2 4
2 1
1 3
1 1
2 4
1 4
1 5

output:

3
1
3
5

result:

ok 4 number(s): "3 1 3 5"

Test #3:

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

input:

2 2
2 1
2 1
1 2

output:

2

result:

ok 1 number(s): "2"

Test #4:

score: -100
Wrong Answer
time: 0ms
memory: 3604kb

input:

25 25
21 20 19 12 11 17 22 16 24 1 13 7 14 9 2 5 8 3 4 23 15 25 18 10 6
2 4
2 11
1 10
1 22
1 8
2 1
1 11
2 10
2 1
1 6
1 11
2 2
1 22
1 21
1 4
1 1
1 12
2 23
2 19
2 4
2 11
1 6
1 19
1 7
1 16

output:

1
25
16
13
17
2
25
15
17
3
21
8
16
13
19

result:

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