QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#624366#6599. The Grand TournamentqiuzxWA 279ms4040kbC++204.8kb2024-10-09 15:40:402024-10-09 15:40:40

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 4040kb

input:

2
0 0 3 3
1 1 1 2
2 1 2 2
0 0 3 3
1 1 1 2
1 2 2 2

output:

0.000000000000000
1.000000000000000

result:

ok 2 numbers

Test #2:

score: 0
Accepted
time: 1ms
memory: 4028kb

input:

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

output:

0.000000000000000
3.750000000000000
0.000000000000000
6.000000000000000
0.000000000000000
0.000000000000000
0.000000000000000
6.000000000000000
2.000000000000000
4.000000000000000

result:

ok 10 numbers

Test #3:

score: 0
Accepted
time: 266ms
memory: 4028kb

input:

100000
350 720 355 732
353 725 352 729
354 721 353 725
-807 606 -801 621
-803 608 -803 616
-803 616 -803 614
-389 463 -373 466
-382 464 -387 464
-387 464 -385 464
-664 801 -655 806
-656 803 -659 803
-659 803 -657 802
896 -767 901 -762
900 -763 897 -763
900 -763 897 -763
403 645 407 652
406 647 405 6...

output:

0.000000000000000
42.000000000000000
12.000000000000000
24.000000000000000
25.000000000000000
28.000000000000000
99.000000000000000
0.000000000000000
135.000000000000000
6.000000000000000
42.000000000000000
45.000000000000000
120.000000000000000
8.000000000000000
84.000000000000000
15.00000000000000...

result:

ok 100000 numbers

Test #4:

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

input:

100000
-653 -979 -650 -961
-652 -973 -651 -973
-652 -973 -651 -973
-311 -975 -297 -966
-301 -967 -309 -973
-309 -973 -301 -967
734 -459 746 -420
736 -451 743 -440
736 -451 743 -440
127 431 139 456
131 436 138 447
138 447 131 436
-535 293 -505 299
-510 296 -531 297
-510 296 -533 295
571 -397 584 -371...

output:

54.000000000000000
126.000000000000000
468.000000000000000
300.000000000000000
29.590062111801245
190.666666666666664
75.000000000000000
0.000000000000000
323.000000000000000
0.000000000000000
0.000000000000000
18.000000000000000
0.000000000000000
141.289473684210527
29.307692307692310
21.0000000000...

result:

ok 100000 numbers

Test #5:

score: 0
Accepted
time: 279ms
memory: 3840kb

input:

100000
-553 286 -544 299
-551 297 -552 288
-551 297 -548 293
-535 81 -526 122
-534 86 -532 117
-532 117 -534 86
42 -110 54 -94
43 -95 47 -109
47 -109 45 -102
392 33 397 38
395 36 394 37
394 37 395 36
-934 910 -916 933
-924 915 -933 916
-917 921 -933 916
-119 -981 -87 -975
-90 -980 -114 -980
-103 -97...

output:

6.444444444444450
369.000000000000000
106.285714285714286
25.000000000000000
5.599999999999994
0.000000000000000
32.000000000000000
216.000000000000000
0.000000000000000
99.899999999999999
0.000000000000000
6.000000000000000
276.649999999999991
0.000000000000000
462.000000000000000
42.00000000000000...

result:

ok 100000 numbers

Test #6:

score: 0
Accepted
time: 258ms
memory: 3888kb

input:

100000
587 345 644 380
643 368 595 358
643 368 595 358
361 362 367 379
362 373 364 368
364 368 366 363
-418 766 -374 819
-410 796 -403 813
-417 779 -403 813
-536 183 -488 322
-510 238 -521 222
-521 222 -532 304
719 393 812 421
728 417 808 420
728 417 808 420
209 -634 242 -618
231 -623 238 -626
238 -...

output:

1995.000000000000000
0.000000000000000
1265.647058823529420
1482.564786585365855
2604.000000000000000
528.000000000000000
384.000000000000000
481.630769230769218
0.000000000000000
490.000000000000000
70.000000000000000
0.000000000000000
16.000000000000000
270.000000000000000
597.454545454545453
288....

result:

ok 100000 numbers

Test #7:

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

input:

100000
-77 35 -66 122
-69 98 -72 81
-72 81 -69 70
-804 257 -551 278
-656 269 -794 277
-656 269 -587 265
-311 610 -280 731
-306 638 -288 700
-306 638 -288 700
-438 472 -433 615
-437 536 -437 499
-437 499 -437 536
-295 -71 -213 39
-275 -29 -238 34
-275 -29 -238 34
589 387 728 432
646 394 631 407
616 4...

output:

5.614973262032086
0.000000000000000
3751.000000000000000
715.000000000000000
9020.000000000000000
0.000000000000000
14300.000000000000000
16364.274193548387095
50801.483870967741936
16.000000000000000
0.000000000000000
2493.636363636363647
280.660714285714278
44.000000000000000
185.000000000000000
9...

result:

ok 100000 numbers

Test #8:

score: 0
Accepted
time: 271ms
memory: 3828kb

input:

100000
-475 589 -253 919
-408 663 -351 817
-408 663 -351 817
524 632 561 857
553 829 556 729
541 765 559 807
-253 -540 -98 -505
-239 -506 -232 -510
-239 -506 -232 -510
-149 639 -51 649
-130 647 -87 644
-130 647 -87 644
719 -478 924 92
916 -66 920 74
910 -276 912 -206
-75 -924 -47 -677
-66 -844 -48 -...

output:

73260.000000000000000
0.000000000000000
5425.000000000000000
980.000000000000000
0.000000000000000
4692.470588235294118
651.000000000000000
560.000000000000000
21645.000000000000002
1013.246785058175139
32053.000000000000000
96819.000000000000000
31937.175589076052987
168.000000000000000
260.0000000...

result:

ok 100000 numbers

Test #9:

score: -100
Wrong Answer
time: 276ms
memory: 4040kb

input:

100000
-302 -975 987 976
-25 289 396 -1
21 -703 930 -131
-993 -999 968 963
-381 -323 929 583
487 -43 -303 -356
-700 -827 301 846
-366 742 -570 319
-570 319 -638 178
401 -174 675 180
463 -149 455 -131
463 -149 459 -140
-133 -812 454 808
221 176 145 537
121 651 145 537
-334 -930 781 -18
638 -504 279 -...

output:

0.000000000000000
0.000000000000000
0.000000000000000
18936.444444444444443
0.000000000000000
1016880.000000000000000
602.170545873927334
509409.999999999999972
0.000000000000000
177747.808383233516963
240642.338709677419374
369120.778614457831338
0.000000000000000
538241.000000000000000
0.000000000...

result:

wrong answer 8711th numbers differ - expected: '0.0000000', found: '0.0000000', error = '0.0000000'