結果

問題 No.2175 Exciting Combo
ユーザー HydruHydru
提出日時 2023-01-06 21:22:12
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 71 ms / 2,000 ms
コード長 121 bytes
コンパイル時間 536 ms
コンパイル使用メモリ 87,092 KB
実行使用メモリ 71,524 KB
最終ジャッジ日時 2023-08-20 14:22:40
合計ジャッジ時間 1,624 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
71,404 KB
testcase_01 AC 69 ms
71,360 KB
testcase_02 AC 69 ms
71,048 KB
testcase_03 AC 66 ms
71,488 KB
testcase_04 AC 71 ms
71,460 KB
testcase_05 AC 68 ms
71,352 KB
testcase_06 AC 70 ms
71,220 KB
testcase_07 AC 68 ms
71,524 KB
testcase_08 AC 66 ms
71,312 KB
testcase_09 AC 69 ms
71,200 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a1,a2,a3,b=map(int,input().split())

ans=a1+a2+a3+b
A=[a1,a2,a3]

for a in A:
    if a*3>ans:
        ans=a*3

print(ans)
0