結果
| 問題 |
No.851 テストケース
|
| コンテスト | |
| ユーザー |
tamato
|
| 提出日時 | 2020-06-04 15:49:39 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 36 ms / 3,153 ms |
| コード長 | 388 bytes |
| コンパイル時間 | 290 ms |
| コンパイル使用メモリ | 82,648 KB |
| 実行使用メモリ | 53,944 KB |
| 最終ジャッジ日時 | 2024-11-29 05:17:38 |
| 合計ジャッジ時間 | 1,778 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
mod = 1000000007
eps = 10**-9
def main():
import sys
input = sys.stdin.readline
N = int(input())
A = list(map(int, input().split()))
if len(A) != 1:
print("\"assert\"")
exit()
a = A[0]
b = int(input())
c = int(input())
V = {a+b, b+c, c+a}
V = sorted(list(V), reverse=True)
print(V[1])
if __name__ == '__main__':
main()
tamato