QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#38374#1182. LighthousesHuangHanShengWA 5ms3808kbC++141.6kb2022-07-05 12:38:432022-07-05 12:38:44

详细

Test #1:

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

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.4142135624
3.0000000000

result:

ok 2 numbers

Test #2:

score: -100
Wrong Answer
time: 5ms
memory: 3808kb

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:

3003344343.9244108200
2840471150.0683636665
3174.3431926307
2844.3963125124
3195522501.4088549614
3274.9653567765
2824773536.4935951233
2276985.1357878428
1033.2264998537
1670669.7711412609
2735594733.6970515251
0.0000000000
2480.5999624696
2348460308.0295076370
3447.4704862312
3029070029.0492334366...

result:

wrong answer 1st numbers differ - expected: '4765927085.1971369', found: '3003344343.9244108', error = '0.3698300'