結果
| 問題 |
No.851 テストケース
|
| コンテスト | |
| ユーザー |
takakin
|
| 提出日時 | 2020-05-11 22:25:04 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 28 ms / 3,153 ms |
| コード長 | 246 bytes |
| コンパイル時間 | 94 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-07-19 07:09:15 |
| 合計ジャッジ時間 | 1,427 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
import sys
input=lambda: sys.stdin.readline().rstrip()
n=int(input())
A=[int(i) for i in input().split()]
if len(A)>1:
print('"assert"')
else:
a=A[0]
b=int(input())
c=int(input())
print(sorted(list(set([a+b,b+c,c+a])),reverse=True)[1])
takakin