結果

問題 No.2175 Exciting Combo
ユーザー ShirotsumeShirotsume
提出日時 2023-01-06 21:23:52
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 86 ms / 2,000 ms
コード長 384 bytes
コンパイル時間 301 ms
コンパイル使用メモリ 87,228 KB
実行使用メモリ 71,920 KB
最終ジャッジ日時 2023-08-20 14:24:27
合計ジャッジ時間 1,789 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 86 ms
71,748 KB
testcase_01 AC 82 ms
71,664 KB
testcase_02 AC 81 ms
71,920 KB
testcase_03 AC 86 ms
71,460 KB
testcase_04 AC 82 ms
71,768 KB
testcase_05 AC 80 ms
71,668 KB
testcase_06 AC 81 ms
71,696 KB
testcase_07 AC 79 ms
71,900 KB
testcase_08 AC 83 ms
71,628 KB
testcase_09 AC 81 ms
71,776 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
from collections import deque, Counter
sys.setrecursionlimit(5 * 10 ** 5)
from pypyjit import set_param
set_param('max_unroll_recursion=-1')
input = lambda: sys.stdin.readline().rstrip()
ii = lambda: int(input())
mi = lambda: map(int, input().split())
li = lambda: list(mi())
inf = 2 ** 63 - 1
mod = 998244353

a, b, c, d = mi()

print(max(max(a, b, c) * 3, a + b + c + d))
0