QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#38338#1182. LighthousesZhaoZiLongWA 7ms3916kbC++172.0kb2022-07-05 11:07:032022-07-05 11:07:05

详细

Test #1:

score: 100
Accepted
time: 3ms
memory: 3824kb

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: 7ms
memory: 3916kb

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:

5937512655.1382875443
3821614775.8628573418
5679.4365051374
3244.3859106056
5071536048.1739072800
7965.5582333234
4646135548.5129270554
2276985.1357878428
1033.2264998537
2035605.4896589201
5642900758.1129188538
0.0000000000
2480.5999624696
2348460308.0295076370
8568.9241656545
4639233838.2453193665...

result:

wrong answer 1st numbers differ - expected: '4765927085.1971369', found: '5937512655.1382875', error = '0.2458253'