結果
| 問題 | No.1816 MUL-DIV Game |
| コンテスト | |
| ユーザー |
👑 SPD_9X2
|
| 提出日時 | 2022-01-21 21:36:40 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 217 bytes |
| 記録 | |
| コンパイル時間 | 193 ms |
| コンパイル使用メモリ | 85,120 KB |
| 実行使用メモリ | 82,432 KB |
| 最終ジャッジ日時 | 2026-05-20 12:27:00 |
| 合計ジャッジ時間 | 4,035 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 13 WA * 14 |
ソースコード
N = int(input())
A = list(map(int,input().split()))
if N == 1:
print (A[0])
elif N == 2:
print (A[0] * A[1])
elif N % 2 == 1:
print (1)
else:
ans = min(A[2] , A[0] * A[1] )
print (ans)
SPD_9X2