QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#38386#1182. LighthousesMaMengQiWA 110ms9784kbC++111.3kb2022-07-05 13:10:152022-07-05 13:10:22

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 9776kb

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.41421356
3.00000000

result:

ok 2 numbers

Test #2:

score: -100
Wrong Answer
time: 110ms
memory: 9784kb

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.08879079
85954.01004549
4785.14069952
3190.42697323
134261.52100199
6514.45811099
116176.08168746
40473.26747373
1033.22649985
36781.90103957
77322.86716328
0.00000000
2480.59996247
17264.96579782
6871.51764583
123705.09371545
46252.89825514
804.35486686
5183.19298013
1832.77398222
4211.26679...

result:

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