結果
| 問題 | No.1816 MUL-DIV Game | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2022-01-22 19:40:56 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 204 bytes | 
| コンパイル時間 | 129 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 21,756 KB | 
| 最終ジャッジ日時 | 2024-11-27 20:23:11 | 
| 合計ジャッジ時間 | 2,882 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 12 WA * 15 | 
ソースコード
N = int(input())
A = list(map(int,input().split()))
if N%2 == 0:
    if N == 2:
        print(A[0]*A[1])
    else:
        print(min(A))
else:
    if N == 1:
        print(A[0])
    else:
        print(1)
            
            
            
        