結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 100 ms
71,672 KB
testcase_01 AC 97 ms
71,668 KB
testcase_02 AC 95 ms
71,328 KB
testcase_03 AC 96 ms
71,704 KB
testcase_04 AC 95 ms
71,804 KB
testcase_05 AC 97 ms
71,636 KB
testcase_06 AC 97 ms
71,784 KB
testcase_07 AC 97 ms
71,688 KB
testcase_08 AC 98 ms
71,712 KB
testcase_09 AC 97 ms
71,624 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
sys.setrecursionlimit(500000)
def I(): return int(sys.stdin.readline().rstrip())
def MI(): return map(int,sys.stdin.readline().rstrip().split())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def S(): return sys.stdin.readline().rstrip()
def LS(): return list(sys.stdin.readline().rstrip().split())
from collections import defaultdict,deque
import bisect
import itertools
dic = defaultdict(int)
d = deque()
a,b,c,d = MI()
print(max(a+b+c+d,max(a,b,c)*3))
0