結果

問題 No.965 門松列が嫌い
ユーザー brthyyjpbrthyyjp
提出日時 2020-03-11 04:31:23
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 103 bytes
コンパイル時間 125 ms
コンパイル使用メモリ 81,944 KB
実行使用メモリ 53,472 KB
最終ジャッジ日時 2024-04-27 19:03:02
合計ジャッジ時間 879 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 34 ms
52,732 KB
testcase_01 AC 32 ms
52,072 KB
testcase_02 AC 31 ms
51,552 KB
testcase_03 WA -
testcase_04 AC 31 ms
52,076 KB
testcase_05 AC 29 ms
52,856 KB
testcase_06 AC 30 ms
52,356 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

a, b, c = map(int, input().split())
f = max(a, b, c)
s = max(a, c)
t = min(a, c)
print(min(f-s+1,s-t))
0