結果
問題 |
No.851 テストケース
|
ユーザー |
![]() |
提出日時 | 2025-04-04 17:54:43 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 219 bytes |
コンパイル時間 | 1,679 ms |
コンパイル使用メモリ | 82,316 KB |
実行使用メモリ | 54,168 KB |
最終ジャッジ日時 | 2025-04-04 17:54:47 |
合計ジャッジ時間 | 2,682 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 18 WA * 2 |
ソースコード
N = int(input()) A = list(map(int, input().split())) if len(A) == 3: exit(print('assert')) A1 = A[0] A2 = int(input()) A3 = int(input()) nums = sorted(set([A1 + A2, A2 + A3, A3 + A1])) nums.sort() print(nums[-2])