QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#927479#3035. Ghostqiuzx AC ✓1684ms68916kbC++204.7kb2025-03-07 11:30:432025-03-07 11:30:45

詳細信息

Test #1:

score: 100
Accepted
time: 742ms
memory: 12508kb

input:

4000
2
-5 -5 3 1 1 -5
-3 -4 -1 2 -2 1
169
4.5924 9.7635
4.9674 5.3219
8.2418 9.6649
6.5743 8.6108
5.3524 6.4199
2.1932 4.3636
1.7115 6.6926
0.5762 4.0628
5.0348 7.5678
6.2170 6.3381
7.1571 8.0276
1.7285 2.3730
0.3843 2.9644
0.0038 0.3971
3.8448 9.7040
4.0458 9.4878
1.6425 7.9132
8.9195 9.4455
4.2563...

output:

0.000000000000
0.000000000000
0.000000000000
0.000000000000
0.000000000000
0.000000000000
0.000000000000
3.085600000000
0.000000000000
0.000000000000
0.000000000000
0.000000000000
5.388400000000
9.954400000000
0.000000000000
0.000000000000
0.000000000000
0.000000000000
0.000000000000
0.000000000000
...

result:

ok OK!

Test #2:

score: 0
Accepted
time: 1684ms
memory: 39128kb

input:

49
20119
453553 453553 999314 999117 128392 128392
625880 625880 999937 999372 -124296 -124296
-34395 -34395 999431 999379 617841 617841
773531 773531 999210 999826 -458742 -458742
-351946 -351946 999501 999848 827822 827822
751364 751364 999088 999855 -391959 -391959
698502 698502 999908 999195 -26...

output:

28458932215.126596050337
26610127672.555073169991
28532937150.676446728408
28532937150.676446728408
28232156121.935278080404
28014514974.478361969814
26633365234.957374999300
28014514974.478361969814
28532937150.676446728408
27190169607.005666369572
26644935633.676289279014
28165463153.178807880729
...

result:

ok OK!

Test #3:

score: 0
Accepted
time: 1212ms
memory: 68916kb

input:

11
2437
-319663 -890371 927261 655392 1 3
-257629 -963537 454576 973758 5 -6
-143353 -761004 767384 895313 1 -4
-474255 -62583 604311 925105 -5 -7
-129789 -629223 875141 641849 3 6
-54357 -600036 845387 199014 2 3
-946287 -251448 306995 217922 7 -3
-480329 -265842 271418 189372 5 -4
-352502 -775709 ...

output:

64584.375000000000
64584.375000000000
64584.375000000000
56289.635964240000
37538.986472640000
64584.375000000000
64584.375000000000
64584.375000000000
64584.375000000000
47531.486884560000
63419.838128640000
49064.913896640000
20520.108799440000
64584.375000000000
64584.375000000000
64584.375000000...

result:

ok OK!