結果

問題 No.857 素振り
ユーザー deepjugglingdeepjuggling
提出日時 2023-06-11 21:55:13
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 75 ms / 1,000 ms
コード長 126 bytes
コンパイル時間 510 ms
コンパイル使用メモリ 87,348 KB
実行使用メモリ 71,524 KB
最終ジャッジ日時 2023-08-31 02:06:41
合計ジャッジ時間 2,441 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,460 KB
testcase_01 AC 75 ms
71,368 KB
testcase_02 AC 73 ms
71,512 KB
testcase_03 AC 72 ms
71,412 KB
testcase_04 AC 73 ms
71,324 KB
testcase_05 AC 74 ms
71,324 KB
testcase_06 AC 74 ms
71,352 KB
testcase_07 AC 73 ms
71,456 KB
testcase_08 AC 74 ms
71,524 KB
testcase_09 AC 75 ms
71,472 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

x,y,z = map(int,input().split())
if z >= x and z >= y:
    print(z-2)
elif z >= x or z >= y:
    print(z-1)
else:
    print(z)
0