結果
問題 |
No.851 テストケース
|
ユーザー |
|
提出日時 | 2019-08-01 12:47:09 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 326 bytes |
コンパイル時間 | 143 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-07-05 07:27:50 |
合計ジャッジ時間 | 1,519 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 18 WA * 2 |
ソースコード
N = input() A1_wk = input() A1_list = A1_wk.split() if len(A1_list) > 1: print("assert") else: A1 = int(A1_list[0]) A2 = int(input()) A3 = int(input()) ans_list = [A1+A2 , A2+A3 , A1+A3] ans_list.sort() if ans_list[1] == ans_list[2]: print(ans_list[0]) else: print(ans_list[1])