結果
| 問題 |
No.1686 Geschenkt
|
| コンテスト | |
| ユーザー |
Nachia
|
| 提出日時 | 2021-09-24 21:36:23 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 133 bytes |
| コンパイル時間 | 220 ms |
| コンパイル使用メモリ | 82,560 KB |
| 実行使用メモリ | 65,152 KB |
| 最終ジャッジ日時 | 2024-07-05 10:11:25 |
| 合計ジャッジ時間 | 1,293 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / 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 i-1 not in s :
ans += a
print(ans)
Nachia