QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#90450#5653. Library gamexiRE 2ms3544kbC++142.5kb2023-03-23 09:58:392023-03-23 09:58:40

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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
Dangerous Syscalls

input:

4 10
4 1 6 4
6 1
4 7

output:

Bernardo
6

result: