QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#334186#6959. FencesShaoJiaAC ✓397ms13944kbC++172.5kb2024-02-21 12:57:462024-02-21 12:57:47

详细

Test #1:

score: 100
Accepted
time: 397ms
memory: 13944kb

input:

10000
20 18
638759 -955696
82327 55245
268299 372341
-720833 -94921
340359 -625036
414233 369163
-505851 99899
177543 -104559
-163564 -716282
851182 -586314
693876 -357056
-571492 825083
59053 -650695
750440 -141379
-867846 -39074
-44757 716909
-734595 18431
-957928 843787
387329 328919
133912 39437...

output:

5695842.429
5877555.728
81.164
6548897.600
90.868
5353391.955
62.037
120.241
5133682.737
50.537
70.424
138.273
5023790.313
3961901.485
40.501
58.843
60.129
5346716.260
145.842
114.020
124.030
51.457
5236472.908
83.982
130.863
5433151.040
53.039
6564359.248
50.339
275.403
6165035.723
96.958
36.931
42...

result:

ok 10000 lines