Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Nov 20th, 2018
90
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
[1, 2, 3, 6, 8, 9, 10, 23, 34, 35, 36, 45, 50, 51...]
[6, 23, 45, ...]
array.select.with_index{ |x, index| (array[index-1] != x-1) && (array[index+1] != x+1)}
Add Comment
Please,
Sign In
to add comment
Public Pastes
💰 G2A.com Free Gift Card Guide Apr 2024 NEW 💰
GetText | 49 sec ago | 0.38 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 1 min ago | 0.39 KB
disable_all_visibility_options
Bash | 50 min ago | 0.61 KB
enable_all_visibility_options
Bash | 51 min ago | 0.60 KB
org mode hacking
Lisp | 52 min ago | 0.54 KB
file_visibility_options
Python | 1 hour ago | 4.40 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 1 hour ago | 0.38 KB
🔥 G2A.com Free Gift Card Guide Apr 2024 🔥
GetText | 1 hour ago | 0.38 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!