QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#505572#5963. Mushroom Monsterxiaowuc115 ✓2ms3688kbC++171.6kb2024-08-05 06:10:252024-08-05 06:10:29

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 7
Accepted

Test #1:

score: 7
Accepted
time: 0ms
memory: 3572kb

input:

100
4
10 5 15 5
2
100 100
8
81 81 81 81 81 81 81 0
6
23 90 40 0 100 9
2
0 0
10
100 0 100 0 100 0 100 0 100 0
10
100 100 100 100 100 100 100 100 100 0
5
83 68 80 60 62
6
92 49 29 64 21 41
7
22 93 76 23 72 40 66
8
31 27 79 70 74 0 57 97
9
67 44 51 91 99 38 21 41 9
10
98 24 26 35 78 48 38 40 82 91
10
7...

output:

Case #1: 15 25
Case #2: 0 0
Case #3: 81 567
Case #4: 181 244
Case #5: 0 0
Case #6: 500 500
Case #7: 100 900
Case #8: 35 80
Case #9: 106 179
Case #10: 102 244
Case #11: 87 333
Case #12: 133 378
Case #13: 114 433
Case #14: 225 421
Case #15: 253 419
Case #16: 193 428
Case #17: 122 396
Case #18: 194 389...

result:

ok 100 lines

Subtask #2:

score: 8
Accepted

Test #2:

score: 8
Accepted
time: 2ms
memory: 3688kb

input:

100
4
10 5 15 5
2
100 100
8
81 81 81 81 81 81 81 0
6
23 90 40 0 100 9
2
0 0
1000
10000 0 10000 0 10000 0 10000 0 10000 0 10000 0 10000 0 10000 0 10000 0 10000 0 10000 0 10000 0 10000 0 10000 0 10000 0 10000 0 10000 0 10000 0 10000 0 10000 0 10000 0 10000 0 10000 0 10000 0 10000 0 10000 0 10000 0 100...

output:

Case #1: 15 25
Case #2: 0 0
Case #3: 81 567
Case #4: 181 244
Case #5: 0 0
Case #6: 5000000 5000000
Case #7: 10000 9990000
Case #8: 6635 16668
Case #9: 6708 16842
Case #10: 5953 22576
Case #11: 6830 26354
Case #12: 22564 36253
Case #13: 9097 34261
Case #14: 18888 41453
Case #15: 18135 51718
Case #16:...

result:

ok 100 lines

Extra Test:

score: 0
Extra Test Passed