結果

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

ソースコード

diff #

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

ans=[]

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

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

0