Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Nov 23rd, 2017
88
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.16 KB
| None
|
0
0
raw
download
clone
embed
print
report
from libcpp.algorithm cimport sort
import random
cdef int *a = [1,2,3,4]
cdef int z = random.randrange(5)
sort(&a[0], &a[3], lambda x,y: abs(x-z) < abs(y-z))
Add Comment
Please,
Sign In
to add comment
Public Pastes
jira - moskit -> web-bee
JavaScript | 4 min ago | 1.88 KB
Identity Fraud Mirror Scripts (MMCK Style)
Lua | 16 min ago | 12.35 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 31 min ago | 0.39 KB
Untitled
Bash | 39 min ago | 0.73 KB
How Can I Get the 30 USD No Deposit Forex Bon...
PHP | 52 min ago | 2.73 KB
Stanjura Kongres ODS 2024
HTML | 59 min ago | 12.17 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 💰
GetText | 1 hour ago | 0.38 KB
Untitled
FreeBasic | 1 hour ago | 0.28 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!