QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#733569#5978. Runaway QuailInaba0023 ✓481ms6428kbC++142.1kb2024-11-10 19:53:072024-11-10 19:53:07

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 8
Accepted

Test #1:

score: 8
Accepted
time: 1ms
memory: 3860kb

input:

50
4 3
-3 -6 -9
3 2 1
2 2
1 -1
1 1
1000 25
769234 -5735820 -524288 -5403090 -6429140 1574982 1 -9733628 -1407481 4093041 4117720 -3193501 -9765195 -3069520 1122216 -5799108 131072 -8482066 -256 -8021159 -8958386 -7027036 5370579 -3602534 -6834567
425 102 744 155 339 19 999 19 159 198 51 304 369 601 ...

output:

Case #1: 3.0000000
Case #2: 5.0000000
Case #3: 51133.9375000
Case #4: 429262.3961421
Case #5: 129368.0122796
Case #6: 7801.8320312
Case #7: 66656.8125000
Case #8: 607220.6904235
Case #9: 5725896.8763441
Case #10: 129205.2852201
Case #11: 64298.0000000
Case #12: 610881.7051597
Case #13: 17621.6562500...

result:

ok correct! (50 test cases)

Subtask #2:

score: 15
Accepted

Test #2:

score: 15
Accepted
time: 481ms
memory: 6428kb

input:

50
4 3
-3 -6 -9
3 2 1
2 2
1 -1
1 1
1000 500
-9650379 9806301 -6495789 -1283284 5022779 4725553 9364178 -8123302 -9609729 7847458 -142364 6983908 8147008 -3186924 7339254 -8737645 8757174 7887319 3609962 5780915 -1752801 -1657946 -9511339 5113995 -7887160 -6093170 260267 -3837106 -356098 6676924 6210...

output:

Case #1: 3.0000000
Case #2: 5.0000000
Case #3: 205911250.0888889
Case #4: 36298.0000000
Case #5: 186002.2500000
Case #6: 13741948.5000000
Case #7: 109001.1250000
Case #8: 38656.8125000
Case #9: 128881.0561481
Case #10: 8069407.9870968
Case #11: 128881.0561481
Case #12: 124955.3750000
Case #13: 12871...

result:

ok correct! (50 test cases)

Extra Test:

score: 0
Extra Test Passed