結果

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

ソースコード

diff #

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

ans=[]

ans.append(B-A)
ans.append(B-C)
ans.append(abs(A-C))

#print(ans)
print(min(ans))

0