QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#640298#1182. Lighthousesucup-team4645#AC ✓2110ms44460kbC++233.1kb2024-10-14 10:47:262024-10-14 10:47:27

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 11164kb

input:

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

output:

2.414213562373095
3.000000000000000

result:

ok 2 numbers

Test #2:

score: 0
Accepted
time: 2ms
memory: 9432kb

input:

450
7
0 0
260338181 86092533
323066179 107441010
424697382 278447352
71444106 1000000000
-575302618 804979842
-258577414 97804732
20
2 3
2 5
1 3
7 4
2 1
5 3
6 2
7 5
4 2
3 6
1 7
5 6
4 6
4 5
3 4
7 2
6 1
1 5
7 6
4 1
5
0 0
713930457 800419774
94147955 958520832
-286069543 1000000000
-262432976 698118841...

output:

4765927085.197136793285608
3445280472.471964442636818
4807.744303066479766
3190.426973230075622
4345171440.261608531698585
6514.458110993524410
3773167316.242773545905948
2276985.135787842708851
1033.226499853734878
2035605.489658919959084
5547331390.472334377467632
0.000000000000000
2480.5999624696...

result:

ok 450 numbers

Test #3:

score: 0
Accepted
time: 2110ms
memory: 44460kb

input:

10
295
0 0
14682701 503060
25046284 1037424
36405162 1792084
39349419 2119133
68531516 5963501
88143287 8803232
105612921 11584151
110634846 12446595
115510397 13365788
123709362 15371938
138667321 19292100
143732922 20680197
152527267 23117317
161336760 25663342
175610584 29864225
179534317 3102751...

output:

138692526440.221286743879318
142741536635.014158621430397
210677906142.053471386432648
44669007984.586183805018663
143288343239.696915224194527
7617016839.570424831006676
49984226404.877367675304413
199989775093.763986334204674
206539582580.724332526326180
45567211025.837231300771236

result:

ok 10 numbers