QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#38627#1182. LighthousesGuanYunchangWA 6ms3812kbC++141.0kb2022-07-06 15:47:442022-07-06 15:47:44

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 3708kb

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.414213562373
3.000000000000

result:

ok 2 numbers

Test #2:

score: -100
Wrong Answer
time: 6ms
memory: 3812kb

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:

180457.088790789421
85954.010045488263
4807.744303066480
3190.426973230075
134261.521001991467
6514.458110993525
116176.081687457336
40473.267473728876
1033.226499853735
36781.901039571698
77322.867163276445
0.000000000000
2480.599962469619
17264.965797823057
7779.583217082064
123705.093715451425
46...

result:

wrong answer 1st numbers differ - expected: '4765927085.1971369', found: '180457.0887908', error = '0.9999621'