QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#102377#5444. Tavern ChessGuanYunchangML 0ms0kbC++172.6kb2023-05-03 12:05:172023-05-03 12:05:19

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Memory Limit Exceeded

input:

2 3
2 5
3 4 1

output:


result: