QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#679046#4636. Optimal Assortmentucup-team5248#WA 1715ms24060kbC++202.7kb2024-10-26 16:45:392024-10-26 16:45:40

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2 5
4 2
4 3 2
4 3 2
2 1 2
1 1 2 3
1 0 0 0
1 1 0 0
1 2 0 0

output:

16/9
10/9
1/1
2/1
2/1
0/1

result:

ok 6 lines

Test #2:

score: -100
Wrong Answer
time: 1715ms
memory: 24060kb

input:

200000 200000
959139 199252 470888 74578 802746 396295 386884 721198 628655 722503 207868 647942 87506 792718 761498 917727 843338 908043 952768 268783 375312 414369 319712 96230 277106 168102 263554 936674 246545 667941 198849 268921 191459 436316 134606 802932 515506 837311 465964 394766 17626 650...

output:

13718738103916091/-24193874
14956342332491507/-64776
14956342332491507/-64776
9152836054642237/456051
14462435660037020/-279144859
0/1
14956342332491507/-64776
11891119434693029/456607439
6167721403657621/-421540862
6167721403657621/-421540862
0/1
0/1
0/1
0/1
0/1
0/1
15946138318987944/1351211243
271...

result:

wrong answer 1st lines differ - expected: '311567211361053/313072603', found: '13718738103916091/-24193874'