結果
| 問題 | No.851 テストケース |
| コンテスト | |
| ユーザー |
_KingdomOfMoray
|
| 提出日時 | 2020-01-04 00:06:53 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 24 ms / 3,153 ms |
| + 526µs | |
| コード長 | 456 bytes |
| 記録 | |
| コンパイル時間 | 71 ms |
| コンパイル使用メモリ | 15,232 KB |
| 実行使用メモリ | 11,008 KB |
| 最終ジャッジ日時 | 2026-10-13 01:00:35 |
| 合計ジャッジ時間 | 2,200 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
n = int(input())
assert_list = list(map(int,input().split()))
res = 0
if len(assert_list) == 3:
res = '"assert"'
else:
added_list = [int(input()) for i in range(2)]
added_list.insert(0, assert_list[0])
a, b, c = added_list
res_list = [a + b, b + c, c + a]
sorted_res_list = sorted(res_list)
if sorted_res_list[2] == sorted_res_list[1]:
res = sorted_res_list[0]
else:
res = sorted_res_list[1]
print(res)
_KingdomOfMoray