QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#123475#5653. Library gameGuanYunchangTL 0ms3600kbC++111.5kb2023-07-12 17:14:312023-07-12 17:14:35

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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
Time Limit Exceeded

input:

4 10
4 1 6 4

output:


result: