結果

問題 No.410 出会い
ユーザー terune
提出日時 2016-08-26 23:22:04
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 162 bytes
コンパイル時間 101 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-11-08 09:51:43
合計ジャッジ時間 1,682 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 4
other RE * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

p1, p2 = list(map(int, input().split()))
q1, q2 = list(map(int, input().split()))
x = max(p1,q1) - min(p1,q1)
y = max(p2,q2) - min(p2,q2)
print('%s' % (x+y+1)//2)
0