結果

問題 No.965 門松列が嫌い
ユーザー 310icecrystal310icecrystal
提出日時 2023-07-06 05:18:46
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 101 bytes
コンパイル時間 277 ms
コンパイル使用メモリ 87,372 KB
実行使用メモリ 71,648 KB
最終ジャッジ日時 2023-09-27 06:13:05
合計ジャッジ時間 1,821 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 65 ms
71,540 KB
testcase_01 AC 64 ms
71,372 KB
testcase_02 AC 65 ms
71,124 KB
testcase_03 AC 65 ms
71,648 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 65 ms
71,648 KB
testcase_08 WA -
testcase_09 AC 65 ms
71,280 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B,C = map(int,input().split())

if B == max(A,B,C):
	print(min(B-A,B-C))
else:
	print(min(A-B,C-B))
0