QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#592550#5653. Library gameMaMengQiWA 1ms3616kbC++112.4kb2024-09-26 23:26:122024-09-26 23:26:14

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 3552kb

input:

4 10
4 1 6 4
6 1
4 5
4 6
1 9

output:

Bernardo
4
8
8
12

result:

wrong answer Integer 12 violates the range [9, 9]