Skip to content

柵 (Fences)

Unrated
日本語

Language

Contribute a translation
Time limit
1000 ms
Memory limit
256 MB
Submissions
0
Correct
0
Solved by
0
AC rate
—

Statement

柵 (Fences):公式日本語問題文 1ページ

柵 (Fences):公式日本語問題文 2ページ

柵 (Fences):公式日本語問題文 3ページ

柵 (Fences):公式日本語問題文 4ページ

Examples

Sample input 1
3 4
-3 5 1 8
-4 3 -4 6
5 1 7 2
Sample output 1
29.0000000000
Sample input 2
1 2
-3 -3 -3 -2
Sample output 2
16.0000000000
Sample input 3
4 3
4 -1 3 4
-4 2 -2 4
-4 0 -5 6
0 -6 5 -2
Sample output 3
14.1392801789
Sample input 4
10 80
175 95 60 -146
-106 57 18 185
190 -68 177 -142
84 -195 127 -179
34 143 126 69
-92 133 -190 80
-157 -66 -119 -161
-85 -124 129 -171
141 181 175 175
107 -38 150 148
Sample output 4
238.4778364511

Notes

Tags

No tags yet

Source