結果

問題 No.410 出会い
ユーザー hoshiimo28
提出日時 2016-08-12 23:38:20
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 275 bytes
コンパイル時間 600 ms
コンパイル使用メモリ 6,912 KB
実行使用メモリ 6,400 KB
最終ジャッジ日時 2024-11-07 15:56:25
合計ジャッジ時間 1,738 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 4
other WA * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

def deai():
    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])
    print dist_x
    print dist_y
    ans = 1.0*dist_x/2 + 1.0*dist_y/2
    print ans
    return ans

deai()
0