結果

問題 No.965 門松列が嫌い
ユーザー stngstng
提出日時 2022-08-16 14:39:18
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 75 bytes
コンパイル時間 261 ms
コンパイル使用メモリ 82,388 KB
実行使用メモリ 53,100 KB
最終ジャッジ日時 2024-04-14 08:39:16
合計ジャッジ時間 1,373 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
52,208 KB
testcase_01 AC 38 ms
52,736 KB
testcase_02 AC 40 ms
51,824 KB
testcase_03 WA -
testcase_04 AC 38 ms
51,760 KB
testcase_05 AC 38 ms
52,512 KB
testcase_06 AC 38 ms
52,128 KB
testcase_07 AC 37 ms
53,100 KB
testcase_08 AC 38 ms
51,788 KB
testcase_09 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b,c = map(int,input().split())
print(min(abs(a-c),abs(b-c)+1,abs(a-b)+1))
0