結果
問題 |
No.851 テストケース
|
ユーザー |
![]() |
提出日時 | 2019-07-31 21:54:00 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 289 bytes |
コンパイル時間 | 163 ms |
コンパイル使用メモリ | 81,920 KB |
実行使用メモリ | 52,096 KB |
最終ジャッジ日時 | 2024-07-05 07:18:56 |
合計ジャッジ時間 | 1,519 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 18 WA * 2 |
ソースコード
n = int(input()) a = list(map(int, input().split())) if len(a) == 3: print("assert") exit() x = a[0] y = int(input()) z = int(input()) ans_set = set([]) ans_set.add(x + y) ans_set.add(y + z) ans_set.add(z + x) li = list(ans_set) li = sorted(li, reverse = True) print(li[1])