結果

問題 No.965 門松列が嫌い
ユーザー kohei2019kohei2019
提出日時 2022-05-14 17:08:15
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 90 bytes
コンパイル時間 713 ms
コンパイル使用メモリ 86,512 KB
実行使用メモリ 71,032 KB
最終ジャッジ日時 2023-09-30 08:59:00
合計ジャッジ時間 1,990 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
70,760 KB
testcase_01 AC 75 ms
70,840 KB
testcase_02 AC 75 ms
70,944 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 74 ms
70,868 KB
testcase_06 WA -
testcase_07 AC 75 ms
70,516 KB
testcase_08 AC 73 ms
70,904 KB
testcase_09 AC 72 ms
70,912 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B,C = map(int,input().split())
if A > B:
    print(abs(A-C))
else:
    print(B-max(A,C))
0