QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#34974#2582. 物理实验qwq#100 ✓397ms48420kbC++204.7kb2022-06-12 13:17:562022-06-12 13:21:59

詳細信息

Test #1:

score: 40
Accepted
time: 4ms
memory: 16000kb

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.77467737
454.29625813
270.09701287
17826.67862384
693.63384905
649.88518525
16035.00185850
1046.51944857
1243.73154267
620.68255375
1320.05662751
19054.04065134
1062.02227381
684.42956019
421.17935376
1051.71117124
850.63380371
22608.74570296
13436.19315374
261.78217126
304.13807113
916.02571328...

result:

ok ok, 100 numbers

Test #2:

score: 40
Accepted
time: 375ms
memory: 39604kb

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.53687320
1591692.18337960
21928.60438453
2894.66085456
14332.00000082
10772.20012004
61378.57524620
113952.27620852
34711.41135619
54764.07871614
76852.12247857
87090.61783749
5004.10459590
79872.51685470
69493.49706445
90559.40477657
86547.59555391
17134.66503815
25861.52098010
129826.1283372...

result:

ok ok, 100 numbers

Test #3:

score: 20
Accepted
time: 397ms
memory: 48420kb

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.65838194
17046702.41993350
46390075.52228945
7797517.42047590
24229463.20940784
13387746.94247285
11290240.30430252
55253758.74253500
60559802.17934722
80996320.54402687
16696606.00028848
18751679.49971042
76860841.81193011
22030848.05326824
68197919.17378470
240324280.69764072
24528596.000...

result:

ok ok, 100 numbers