結果

問題 No.857 素振り
ユーザー akasatanananaakasatananana
提出日時 2019-08-26 00:17:46
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 139 bytes
コンパイル時間 256 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-04-24 22:36:55
合計ジャッジ時間 850 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 26 ms
10,752 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 25 ms
10,624 KB
testcase_04 AC 24 ms
10,752 KB
testcase_05 AC 26 ms
10,624 KB
testcase_06 AC 26 ms
10,752 KB
testcase_07 WA -
testcase_08 AC 26 ms
10,624 KB
testcase_09 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

a=[int(i) for i in input().split()]
b,c,d=a[0],a[1],a[2]
if d>c and d>b:
    print(d-2)
elif d>c or d>b:
    print(d-1)
else:
    print(d)
0