結果

問題 No.1816 MUL-DIV Game
ユーザー 👑 rin204rin204
提出日時 2022-01-23 01:47:01
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 151 bytes
コンパイル時間 207 ms
コンパイル使用メモリ 82,464 KB
実行使用メモリ 84,656 KB
最終ジャッジ日時 2024-05-06 09:00:04
合計ジャッジ時間 3,468 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
52,816 KB
testcase_01 AC 38 ms
52,536 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 37 ms
52,808 KB
testcase_07 AC 38 ms
52,628 KB
testcase_08 AC 38 ms
52,640 KB
testcase_09 AC 37 ms
52,296 KB
testcase_10 AC 37 ms
52,196 KB
testcase_11 AC 38 ms
53,068 KB
testcase_12 AC 37 ms
52,072 KB
testcase_13 AC 63 ms
74,188 KB
testcase_14 AC 52 ms
66,852 KB
testcase_15 AC 56 ms
70,032 KB
testcase_16 AC 44 ms
60,920 KB
testcase_17 AC 73 ms
79,808 KB
testcase_18 AC 71 ms
78,212 KB
testcase_19 AC 55 ms
69,540 KB
testcase_20 AC 73 ms
80,436 KB
testcase_21 AC 51 ms
65,876 KB
testcase_22 AC 48 ms
64,856 KB
testcase_23 AC 37 ms
52,236 KB
testcase_24 AC 37 ms
53,152 KB
testcase_25 AC 80 ms
84,264 KB
testcase_26 AC 38 ms
51,880 KB
testcase_27 AC 79 ms
83,932 KB
testcase_28 AC 37 ms
52,368 KB
testcase_29 AC 79 ms
84,656 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
if n % 2 == 1:
    print(1)
    exit()
A = list(map(int, input().split()))
A.sort(reverse = True)
a = A.pop()
A[-1] *= a
print(min(A))
0