QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#787825#4636. Optimal AssortmentGuanYunchangWA 556ms74244kbC++172.5kb2024-11-27 14:46:472024-11-27 14:46:55

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 556ms
memory: 74244kb

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:

41620551596349279/99837598169
8324162469232143/19967592859
586208635140649/1406168573
5945828524744523/14262606787
41620707689664205/99838022121
41620517966857330/99838022121
20810258168681638/49918846069
41620805275740272/99838067525
41620820827592673/99838386902
41620761473066650/99838029519
41620...

result:

wrong answer 1st lines differ - expected: '311567211361053/313072603', found: '41620551596349279/99837598169'