QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#719069#9348. Driverless CardXqwq AC ✓2792ms5892kbC++239.9kb2024-11-06 22:18:372024-11-06 22:18:40

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1
0 0 7 6
2 4 4 4
3 2 5 2

output:

7.5525935938

result:

ok found '7.552593594', expected '7.552593594', error '0.000000000'

Test #2:

score: 0
Accepted
time: 1910ms
memory: 3868kb

input:

100000
677 -490 687 -487
678 -488 681 -489
686 -488 679 -488
753 896 758 902
756 899 755 901
754 898 754 899
-786 69 -781 81
-784 75 -782 78
-784 71 -782 72
-879 110 -874 114
-878 111 -877 113
-877 112 -876 113
331 -97 340 -89
333 -92 337 -92
337 -90 332 -90
-26 -647 -22 -644
-23 -645 -24 -645
-25 -...

output:

5.7568619660
6.0081268071
5.3558071362
4.6297961824
9.1582628081
5.1240142741
3.0000000000
15.7715198267
5.9899971451
5.7610438160
4.3350052452
4.1175588037
4.4219369418
8.1649082009
4.9955153345
3.0809159443
5.9525368931
4.4589521400
7.0940222500
3.0064516255
3.5730682027
7.2801098893
6.7690873100
...

result:

ok 100000 numbers

Test #3:

score: 0
Accepted
time: 2032ms
memory: 3804kb

input:

100000
972 368 975 377
974 369 973 372
973 375 974 371
240 -78 247 -47
246 -53 246 -71
245 -72 241 -77
186 465 191 470
188 466 187 467
188 467 189 467
492 14 495 19
493 16 494 16
493 18 493 17
-846 741 -837 749
-842 746 -843 745
-844 747 -845 745
-974 -454 -957 -425
-959 -432 -963 -447
-970 -437 -97...

output:

4.5317881650
8.3942858295
6.1972559577
3.3905297561
8.5837224479
30.3284451437
8.2956231316
7.0814101909
4.9022350453
5.3883726922
18.2413125976
7.4112257449
4.3905297561
5.2645755108
12.2193364045
12.3335616411
8.3055062894
5.0615364903
17.6100201024
8.0277297192
7.0021649179
4.5169027095
5.1175588...

result:

ok 100000 numbers

Test #4:

score: 0
Accepted
time: 2052ms
memory: 3808kb

input:

100000
-552 124 -546 142
-550 137 -550 135
-548 131 -550 128
-729 823 -693 829
-696 828 -708 824
-713 826 -726 825
-679 26 -630 48
-645 27 -635 42
-647 42 -666 46
45 462 58 504
50 497 49 496
49 463 55 485
-540 -897 -498 -877
-537 -893 -532 -896
-532 -887 -518 -878
-687 275 -660 284
-668 281 -681 278...

output:

6.5972630928
6.4459721120
34.4911984257
14.5787760190
29.3347699835
10.1538039155
13.3903675134
44.6774870896
4.1972559577
7.0038878092
24.1121981923
29.4700421998
5.7832951405
23.1182346492
3.0000000000
53.2710019067
21.2661136273
25.6434003024
8.9815911109
15.7157348065
11.7470229655
3.0392032171
...

result:

ok 100000 numbers

Test #5:

score: 0
Accepted
time: 2094ms
memory: 3856kb

input:

100000
-600 779 -580 835
-583 825 -599 821
-599 780 -590 804
568 374 591 401
572 395 589 384
569 389 569 379
408 -465 420 -412
414 -427 418 -433
419 -446 410 -427
-369 488 -251 542
-275 500 -334 528
-326 511 -349 505
328 704 452 713
372 706 421 705
336 711 422 712
-155 -404 -142 -360
-146 -382 -152 ...

output:

20.9566242431
23.7655840042
28.3359880569
81.8903563462
89.0985870042
17.0314011402
20.1412247453
12.1819500338
49.6395853598
21.2512850268
41.4269948697
89.3543259791
32.3743967461
7.0965562853
36.7691871560
7.0389239036
75.8318700394
21.8987455773
55.8273075211
61.9670536170
55.8351638240
65.63218...

result:

ok 100000 numbers

Test #6:

score: 0
Accepted
time: 2237ms
memory: 5892kb

input:

100000
573 365 736 461
581 379 630 396
594 408 688 387
-715 305 -708 378
-711 337 -713 324
-710 313 -710 331
145 610 165 670
147 613 155 646
152 657 161 647
96 -426 112 -282
98 -377 102 -368
111 -398 101 -417
-622 757 -542 815
-553 798 -569 762
-607 789 -561 800
631 -709 670 -484
653 -637 667 -690
6...

output:

93.4163140916
17.2991167875
27.4242272966
18.7557165416
77.7758258415
100.3833404752
11.9843473016
84.7478653075
14.0136179443
71.5544223948
21.8305667579
51.2388020086
150.1487702239
13.2633025001
183.9519141045
82.2513483023
107.3007650568
9.0776573404
88.3046551927
17.0659603626
19.9280444893
15....

result:

ok 100000 numbers

Test #7:

score: 0
Accepted
time: 2246ms
memory: 3908kb

input:

100000
0 254 468 334
29 329 111 296
409 283 367 296
133 558 896 603
796 586 643 598
600 573 248 591
470 -730 508 -437
484 -669 487 -452
494 -582 502 -544
-727 -507 -181 -495
-684 -506 -351 -503
-213 -503 -458 -498
468 -427 917 -235
563 -242 759 -280
546 -262 794 -411
384 -383 642 -376
552 -381 412 -...

output:

80.0000000000
52.0527772274
91.7230913813
125.7952967502
407.0719426031
50.6178335568
37.9090080391
3.0037476592
161.2729748006
31.2559118729
8.0712648824
6.0047980815
47.5516448992
64.5418913951
64.6664133287
248.4493387318
14.5569480865
160.1502153018
115.7864081881
128.4700734199
338.2288071690
7...

result:

ok 100000 numbers

Test #8:

score: 0
Accepted
time: 2569ms
memory: 3904kb

input:

100000
-944 -991 971 974
935 -451 422 -218
492 -497 -499 -150
-401 -239 750 417
494 182 531 213
-297 -69 726 -57
-925 866 992 876
163 868 69 875
-685 874 -307 867
399 103 994 623
966 463 963 413
586 197 751 406
-438 429 166 840
-210 832 -50 642
120 764 149 688
-678 -996 984 886
905 376 947 -228
-568...

output:

2239.9270922836
855.0797742791
10.0022632115
533.1896309739
430.2594397980
1918.5696809981
1465.6289149837
370.9576797222
1309.5351517712
159.8050175897
1115.8071406549
814.0299803301
1625.1668797873
1405.5140019833
842.0984525531
1003.5680619391
208.1122767207
1728.9124034665
1214.3981300369
1029.8...

result:

ok 100000 numbers

Test #9:

score: 0
Accepted
time: 2759ms
memory: 4052kb

input:

100000
-1000 -994 995 965
-281 -337 -339 -661
-802 -162 -374 510
-871 -978 963 847
-571 -202 -582 209
600 -916 -623 -784
-996 -926 999 828
369 19 -719 686
933 -674 -830 -623
-824 -924 933 886
595 153 494 -700
-498 -293 120 -202
-929 -971 889 941
207 -650 482 -139
76 96 -144 427
-985 -956 966 942
-95...

output:

2409.6016902627
2261.2276634952
2118.7092684218
2144.9084267808
2449.4575414466
2183.3329079544
1370.9727105611
1987.2360979075
1664.5950717063
2278.6645456338
1917.8325524903
1286.0215956250
2643.0080830938
2355.6474597022
1792.3743686471
2126.2511412209
1868.5747770850
2430.6801846364
585.53659218...

result:

ok 100000 numbers

Test #10:

score: 0
Accepted
time: 2792ms
memory: 3860kb

input:

100000
-997 -930 998 990
-620 -300 76 146
910 728 -945 566
-997 -985 995 999
-421 -792 -733 773
892 822 302 -315
-990 -996 999 996
-2 -570 981 -903
-800 635 -848 648
-976 -999 971 997
730 -154 -92 -982
-943 290 -944 -215
-981 -991 1000 990
-327 -631 817 -917
-876 -618 895 -371
-999 -994 998 999
628 ...

output:

2324.8405429724
2080.7496498727
2369.8384443536
2279.0620247164
1808.5319660554
2012.8403467072
2917.9064673193
2024.6074070147
2703.1865692710
1929.9951465090
1404.2478074705
2179.9770883481
2251.4042663775
1886.6997129764
1667.8910504237
2144.9118201695
2134.5238709184
2222.5828522830
1923.6955412...

result:

ok 100000 numbers

Extra Test:

score: 0
Extra Test Passed