QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#43741#2582. 物理实验MaMengQi100 ✓463ms14076kbC++235.3kb2022-08-10 16:33:072022-08-10 16:33:09

详细

Test #1:

score: 40
Accepted
time: 3ms
memory: 4484kb

input:

100
100
7143 -4407 6148 -4332
-3698 1987 -3674 2827
-2240 -6374 -3784 -6054
149 599 327 597
-2580 -4497 -2820 -4347
9219 -1818 6904 502
-5893 1341 -4357 -1890
-3503 -3287 -1087 -1211
-1579 7118 -229 7556
6456 502 1926 -1748
540 6714 -528 6825
1561 8432 -701 8357
422 6998 -41 7462
-1793 3676 1602 517...

output:

939.7746773737
454.2962581289
270.0970128690
17826.6786238372
693.6338490484
649.8851852460
16035.0018585042
1046.5194485707
1243.7315426742
620.6825537524
1320.0566275082
19054.0406513415
1062.0222738142
684.4295601859
421.1793537617
1051.7111712395
850.6338037141
22608.7457029564
13436.1931537422
...

result:

ok ok, 100 numbers

Test #2:

score: 40
Accepted
time: 435ms
memory: 13832kb

input:

100
10000
954303 48690 -14339 924721
464270 12166 -1609 433494
873644 42682 -12246 843861
449837 10414 -1919 418980
537496 14550 -6578 506603
552080 15962 -6594 521226
870138 42252 -12332 840332
57161 -702218 -671596 -43163
38907 -433607 -402515 -34409
445719 9913 -1981 414808
399734 5765 -1530 3686...

output:

23150.5368732009
1591692.1833796110
21928.6043845337
2894.6608545557
14332.0000008225
10772.2001200396
61378.5752461984
113952.2762085209
34711.4113561903
54764.0787161393
76852.1224785748
87090.6178374880
5004.1045959033
79872.5168546976
69493.4970644499
90559.4047765706
86547.5955539096
17134.6650...

result:

ok ok, 100 numbers

Test #3:

score: 20
Accepted
time: 463ms
memory: 14076kb

input:

100
10000
-636684471 -90006000 664665488 86376811
-263230447 -307903883 362658164 -223073366
-575841687 -121133860 614287459 40176834
-258935135 -268238570 347975250 -185982857
-287828480 -521064727 443096738 -422002609
-315452625 -391084040 435133968 -289354496
-560776752 -215271244 624810954 -5458...

output:

13997587.6583819203
17046702.4199333675
46390075.5222893953
7797517.4204759048
24229463.2094078735
13387746.9424728546
11290240.3043024745
55253758.7425352931
60559802.1793474033
80996320.5440266430
16696606.0002885554
18751679.4997104555
76860841.8119301796
22030848.0532682724
68197919.1737847924
2...

result:

ok ok, 100 numbers