結果
| 問題 |
No.851 テストケース
|
| コンテスト | |
| ユーザー |
_KingdomOfMoray
|
| 提出日時 | 2020-01-04 00:03:43 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 360 bytes |
| コンパイル時間 | 103 ms |
| コンパイル使用メモリ | 12,800 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-11-22 19:51:20 |
| 合計ジャッジ時間 | 1,642 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 17 WA * 3 |
ソースコード
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)
res = sorted_res_list[1]
print(res)
_KingdomOfMoray