Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Oct 18th, 2017
61
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.45 KB
| None
|
0
0
raw
download
clone
embed
print
report
help=n/2;
while(help>0)
i=0;
while(i<n)
{
j=i-help;
while(j>=0)
{
if(a[j]>a[j+help])
{
temp=a[j];
a[j]=a[j+help];
a[j+help]=temp;
}
j=j-help;
}
i=i+1;
}
help=help/2;
Add Comment
Please,
Sign In
to add comment
Public Pastes
NodeMCU Amica RC Bluino App
Arduino | 14 min ago | 7.51 KB
at_command_sim7600_en_reg
Arduino | 14 min ago | 4.25 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 36 min ago | 0.39 KB
index.php
PHP | 54 min ago | 3.38 KB
daftar.php
PHP | 55 min ago | 4.10 KB
login.php
PHP | 56 min ago | 3.49 KB
profil.php
PHP | 57 min ago | 10.41 KB
album.php
PHP | 59 min ago | 6.02 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!