結果
問題 |
No.1816 MUL-DIV Game
|
ユーザー |
|
提出日時 | 2022-01-21 21:50:57 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 237 bytes |
コンパイル時間 | 222 ms |
コンパイル使用メモリ | 82,268 KB |
実行使用メモリ | 85,756 KB |
最終ジャッジ日時 | 2024-11-25 23:38:15 |
合計ジャッジ時間 | 2,916 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 14 WA * 13 |
ソースコード
from heapq import heapify, heappush, heappop n = int(input()) A = sorted(list(map(int,input().split()))) if n == 1 or n == 2: A.append(1) print(A[0]*A[1]) exit() if n % 2: print(1) exit() num = A[0]*A[1] print(num)