QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#347699#8068. Building RoadsMaMengQiWA 0ms4064kbC++171.4kb2024-03-09 14:56:062024-03-09 14:56:07

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
0 0
10 0
0 10

output:

20.0000000000

result:

ok found '20.00000', expected '20.00000', error '0.00000'

Test #2:

score: 0
Accepted
time: 0ms
memory: 4016kb

input:

9
0 0
10 0
0 10
-10 0
0 -10
10 10
10 -10
-10 10
-10 -10

output:

28.2842712475

result:

ok found '28.28427', expected '28.28427', error '0.00000'

Test #3:

score: 0
Accepted
time: 0ms
memory: 3948kb

input:

10
-5000 -5000
-4936 -4940
-4968 -4970
-4904 -4910
-4856 -4865
-4888 -4895
-4952 -4955
-4872 -4880
-4920 -4925
-4984 -4985

output:

197.3854097952

result:

ok found '197.38541', expected '197.38541', error '0.00000'

Test #4:

score: 0
Accepted
time: 0ms
memory: 4048kb

input:

20
-4860 -4839
-4720 -4678
-4660 -4609
-4780 -4747
-4880 -4862
-5000 -5000
-4700 -4655
-4640 -4586
-4840 -4816
-4800 -4770
-4920 -4908
-4680 -4632
-4960 -4954
-4820 -4793
-4940 -4931
-4760 -4724
-4740 -4701
-4900 -4885
-4620 -4563
-4980 -4977

output:

579.1105248569

result:

ok found '579.11052', expected '579.11052', error '0.00000'

Test #5:

score: -100
Wrong Answer
time: 0ms
memory: 3956kb

input:

30
-4715 -4734
-4760 -4776
-4970 -4972
-4955 -4958
-4745 -4762
-4895 -4902
-4655 -4678
-4850 -4860
-4865 -4874
-4790 -4804
-4640 -4664
-4805 -4818
-4685 -4706
-4580 -4608
-4820 -4832
-4880 -4888
-4910 -4916
-4925 -4930
-4700 -4720
-4595 -4622
-4610 -4636
-4730 -4748
-4940 -4944
-4625 -4650
-4985 -49...

output:

389.8474060450

result:

wrong answer 1st numbers differ - expected: '595.03025', found: '389.84741', error = '0.34483'