QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#123476#5653. Library gameGuanYunchangWA 1ms3692kbC++111.6kb2023-07-12 17:16:072023-07-12 17:16:08

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3652kb

input:

5 14
3 7 2 3 10
7
14
2
4
6

output:

Alessia
10 1
7 8
3 1
3 3
2 5

result:

ok Contestant won the game

Test #2:

score: -100
Wrong Answer
time: 1ms
memory: 3692kb

input:

4 10
4 1 6 4
6 1
4 4
4 7
1 10

output:

Bernardo
3
6
9
10

result:

wrong answer Judge won the game