QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#790169#4636. Optimal AssortmentZhangYiDeWA 502ms46688kbC++172.2kb2024-11-28 03:31:082024-11-28 03:31:09

详细

Test #1:

score: 100
Accepted
time: 5ms
memory: 39700kb

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: 502ms
memory: 46688kb

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:

311567211361053/313072603
311567211361053/313072603
311567211361053/313072603
311567211361053/313072603
311567211361053/313072603
311567211361053/313072603
311567211361053/313072603
311567211361053/313072603
311567211361053/313072603
311567211361053/313072603
311567211361053/313072603
31156721136105...

result:

wrong answer 45543rd lines differ - expected: '105597277264286/106103497', found: '105671847782798/106178425'