結果

問題 No.965 門松列が嫌い
ユーザー komkompi
提出日時 2020-01-13 21:09:38
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 105 bytes
コンパイル時間 148 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-12-22 21:02:58
合計ジャッジ時間 1,095 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 4 WA * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

# coding: utf-8
# Your code here!
A,B,C=map(int,input().split())

print(max(min(abs(A-C),B-max(A,C)),0))
0