QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#274218#4636. Optimal AssortmentMaMengQiWA 324ms73892kbC++202.0kb2023-12-03 13:00:502023-12-03 13:00:50

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 4ms
memory: 73852kb

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: 324ms
memory: 73892kb

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:

19516337385238711/47089756661
19516467760144429/47089939724
19516468134557111/47089941918
19516461423669902/47090081331
19516415431896174/47089968637
39032641140985473/94179937274
39032639511491419/94179607291
39032928449868415/94179982678
39032785455632345/94179982678
39032726101106322/94179625295
...

result:

wrong answer 1st lines differ - expected: '311567211361053/313072603', found: '19516337385238711/47089756661'