Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
th0m45s5helby
May 9th, 2021
138
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.13 KB
| None
|
0
0
raw
download
clone
embed
print
report
n
=
int
(
input
(
)
)
c
=
[
]
for
i
in
range
(
n
)
:
c.
append
(
int
(
input
(
)
)
)
c.
sort
(
)
print
(
sum
(
[
abs
(
i-c
[
i-
1
]
)
for
i
in
range
(
1
,
n+
1
)
]
)
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Hadez Method Leaked???? TC
Java | 1 min ago | 0.07 KB
FREE 500$ GIFTCARDS???? VF
Java | 2 min ago | 0.06 KB
Make 1500$ in 20 MIN [Method] 8
JavaScript | 3 min ago | 0.06 KB
FREE BTC GUIDE 4
JavaScript | 3 min ago | 0.06 KB
?FREE Method Leaked? 1Y
Java | 3 min ago | 0.07 KB
Make $200 in 15 minutes M
JavaScript | 3 min ago | 0.06 KB
Make $200 in 15 minutes O
JavaScript | 3 min ago | 0.06 KB
MAKE $900 INSTANTLY 3
JavaScript | 3 min ago | 0.06 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!