結果
| 問題 |
No.965 門松列が嫌い
|
| コンテスト | |
| ユーザー |
uni_python
|
| 提出日時 | 2020-10-01 22:58:53 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 32 ms / 1,000 ms |
| コード長 | 302 bytes |
| コンパイル時間 | 169 ms |
| コンパイル使用メモリ | 82,344 KB |
| 実行使用メモリ | 53,812 KB |
| 最終ジャッジ日時 | 2024-07-07 06:06:33 |
| 合計ジャッジ時間 | 1,007 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 9 |
ソースコード
import sys
input=sys.stdin.readline
def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))
def main():
mod=10**9+7
L=LI()
L.sort()
d1=L[1]-L[0]
d2=L[2]-L[1]
print(min(d1,d2))
main()
uni_python