Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
inserimento di un'elemento in vettore ordinato
Meruem
Jun 12th, 2015
230
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
JavaScript
0.21 KB
| None
|
0
0
raw
download
clone
embed
print
report
function
ins_vett
(
v
,
x
)
{
var
tmp
;
v.
push
(
x
)
;
cur
=
v.
lenght
;
for
(
i
=
cur
-
1
;
i
>=
0
;
i
--
)
{
if
(
v
[
i
]
>
v
[
cur
]
)
{
tmp
=
v
[
i
]
;
v
[
i
]
=
v
[
cur
]
;
v
[
cur
]
=
tmp
;
cur
--;
}
else
{
return
v
;
}
}
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
✅ Changelly.com Exploit
10 min ago | 0.39 KB
Trading method
CSS | 24 min ago | 0.39 KB
Google Docs - Exploit
39 min ago | 0.39 KB
December smells like money
CSS | 48 min ago | 0.39 KB
Mod Archive - Lecture automatique
JavaScript | 6 hours ago | 6.94 KB
Untitled
10 hours ago | 1.01 KB
coding and writing poetry
17 hours ago | 1.27 KB
UserScript - Hide Umingle video overlays
JavaScript | 19 hours ago | 1.97 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!