結果

問題 No.965 門松列が嫌い
ユーザー simamumusimamumu
提出日時 2020-01-13 20:25:46
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 34 ms / 1,000 ms
コード長 402 bytes
コンパイル時間 118 ms
コンパイル使用メモリ 11,072 KB
実行使用メモリ 10,024 KB
最終ジャッジ日時 2023-08-23 12:55:48
合計ジャッジ時間 1,218 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 34 ms
9,992 KB
testcase_01 AC 33 ms
9,836 KB
testcase_02 AC 33 ms
9,948 KB
testcase_03 AC 32 ms
9,840 KB
testcase_04 AC 32 ms
9,936 KB
testcase_05 AC 32 ms
10,016 KB
testcase_06 AC 32 ms
10,012 KB
testcase_07 AC 32 ms
10,024 KB
testcase_08 AC 32 ms
9,968 KB
testcase_09 AC 32 ms
9,992 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import defaultdict,deque
import sys,heapq,bisect,math,itertools,string,queue,copy,time
sys.setrecursionlimit(10**8)
INF = float('inf')
mod = 10**9+7
eps = 10**-7
def inp(): return int(sys.stdin.readline())
def inpl(): return list(map(int, sys.stdin.readline().split()))
def inpl_str(): return list(sys.stdin.readline().split())


A,B,C = inpl()

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