結果

問題 No.965 門松列が嫌い
ユーザー toshiro_yanagi
提出日時 2021-06-15 07:04:58
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 120 bytes
コンパイル時間 221 ms
コンパイル使用メモリ 12,288 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-12-26 00:25:44
合計ジャッジ時間 1,447 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 4 WA * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

a, b, c = map(int, input().split())

shot_b = b - max(a, c)
shot_ac = abs(a - c)

ans = min(shot_b, shot_ac)
print(ans)
0