結果

問題 No.851 テストケース
ユーザー brthyyjp
提出日時 2020-12-31 07:04:10
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 41 ms / 3,153 ms
コード長 270 bytes
コンパイル時間 284 ms
コンパイル使用メモリ 81,536 KB
実行使用メモリ 52,096 KB
最終ジャッジ日時 2024-10-08 22:47:14
合計ジャッジ時間 2,267 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
A = []
for i in range(3):
    temp = list(map(int, input().split()))
    if len(temp) == 3:
        print('"assert"')
        exit()
    a = temp[0]
    A.append(a)
B = [A[0]+A[1], A[1]+A[2], A[2]+A[0]]
B = list(set(B))
B.sort(reverse=True)
print(B[1])
0