結果

問題 No.131 マンハッタン距離
ユーザー matsu7874
提出日時 2015-10-12 16:04:15
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 165 bytes
コンパイル時間 87 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-07-21 07:17:19
合計ジャッジ時間 1,666 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other AC * 3 WA * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

x,y,d=map(int, input().split())
if d<y:
    if d<x:
        print(d)
    else:
        print(x)
else:
    if d<x:
        print(y)
    else:
        print(min(x,y))
0