結果
| 問題 |
No.1925 悪鬼三七次元
|
| ユーザー |
gew1fw
|
| 提出日時 | 2025-06-12 15:22:12 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 199 bytes |
| コンパイル時間 | 133 ms |
| コンパイル使用メモリ | 82,408 KB |
| 実行使用メモリ | 84,904 KB |
| 最終ジャッジ日時 | 2025-06-12 15:22:17 |
| 合計ジャッジ時間 | 4,814 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 43 |
ソースコード
n = int(input())
a = list(map(int, input().split()))
total = sum(a)
if n == 1:
print(total)
else:
max_a = max(a)
if n % 2 == 1:
print(total - max_a)
else:
print(total)
gew1fw