QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#155572#5479. Traveling Salesperson in an Islandntu_vjudge_2WA 11ms3840kbC++175.4kb2023-09-01 20:34:472023-09-01 20:34:47

詳細信息

Test #1:

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

input:

4 4
0 0
2 0
2 2
0 2
1 0
1 2
2 1
0 1

output:

5.656854249492380581898487434955313801765441894531

result:

ok found '5.6568542', expected '5.6568542', error '0.0000000'

Test #2:

score: 0
Accepted
time: 1ms
memory: 3764kb

input:

8 2
0 0
4 0
4 4
0 4
0 3
3 3
3 1
0 1
0 0
0 4

output:

16.64911064067351809114825300639495253562927246094

result:

ok found '16.6491106', expected '16.6491106', error '0.0000000'

Test #3:

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

input:

4 4
0 0
2 0
2 2
0 2
1 0
2 1
1 2
0 1

output:

5.656854249492380581898487434955313801765441894531

result:

ok found '5.6568542', expected '5.6568542', error '0.0000000'

Test #4:

score: 0
Accepted
time: 1ms
memory: 3620kb

input:

8 2
0 0
4 0
4 4
0 4
0 3
3 3
3 1
0 1
0 0
0 4

output:

16.64911064067351809114825300639495253562927246094

result:

ok found '16.6491106', expected '16.6491106', error '0.0000000'

Test #5:

score: -100
Wrong Answer
time: 11ms
memory: 3840kb

input:

76 98
268 97
299 202
133 205
110 251
384 226
332 198
532 241
448 83
268 82
543 62
873 93
387 317
905 90
945 132
827 335
983 222
919 534
945 264
910 287
789 705
837 176
793 563
777 665
782 345
746 315
715 315
810 161
369 599
278 671
641 423
703 344
753 619
672 402
596 709
161 701
216 857
325 942
135 ...

output:

17720.07311620426636444847190432483330368995666504

result:

wrong answer 1st numbers differ - expected: '14645.5751139', found: '17720.0731162', error = '0.2099268'