結果
| 問題 | No.1686 Geschenkt |
| コンテスト | |
| ユーザー |
👑 Nachia
|
| 提出日時 | 2021-09-24 21:36:23 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 133 bytes |
| 記録 | |
| コンパイル時間 | 222 ms |
| コンパイル使用メモリ | 85,376 KB |
| 実行使用メモリ | 65,536 KB |
| 最終ジャッジ日時 | 2026-03-26 17:13:33 |
| 合計ジャッジ時間 | 1,206 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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