結果

問題 No.410 出会い
コンテスト
ユーザー hoshiimo28
提出日時 2016-08-12 23:40:33
言語 PyPy2
(7.3.15)
結果
AC  
実行時間 78 ms / 2,000 ms
コード長 175 bytes
コンパイル時間 245 ms
コンパイル使用メモリ 77,552 KB
最終ジャッジ日時 2025-12-03 21:09:58
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 19
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

p = raw_input().split()
q = raw_input().split()
p = map(int,p)
q = map(int,q)

dist_x = abs(p[0] - q[0])
dist_y = abs(p[1] - q[1])
ans = 1.0*dist_x/2 + 1.0*dist_y/2
print ans
0