結果
| 問題 |
No.1686 Geschenkt
|
| コンテスト | |
| ユーザー |
Nachia
|
| 提出日時 | 2021-09-24 21:35:33 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 132 bytes |
| コンパイル時間 | 99 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-07-05 10:10:42 |
| 合計ジャッジ時間 | 900 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 7 |
ソースコード
n = int(input())
a = list(map(int,input().split()))
s = set(a)
ans = 0
for i in a :
if a-1 not in s:
ans += a
print(ans)
Nachia