結果

問題 No.2175 Exciting Combo
ユーザー MasKoaTSMasKoaTS
提出日時 2022-08-15 14:00:18
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 48 ms / 2,000 ms
コード長 129 bytes
コンパイル時間 252 ms
コンパイル使用メモリ 82,100 KB
実行使用メモリ 52,332 KB
最終ジャッジ日時 2024-04-17 15:48:27
合計ジャッジ時間 1,447 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 48 ms
52,096 KB
testcase_01 AC 48 ms
51,840 KB
testcase_02 AC 48 ms
51,328 KB
testcase_03 AC 48 ms
51,584 KB
testcase_04 AC 47 ms
51,712 KB
testcase_05 AC 46 ms
52,332 KB
testcase_06 AC 43 ms
51,584 KB
testcase_07 AC 47 ms
52,224 KB
testcase_08 AC 48 ms
51,584 KB
testcase_09 AC 47 ms
51,584 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline

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

ans = max(a1 + a2 + a3 + b, a3 * 3)
print(ans)
0