Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
May 26th, 2018
84
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
n
=
nn
<<
1
;
j
=
1
;
for
(
i
=
1
;
i
<
n
;
i
+=
2
)
{
if
(
j
>
i
)
{
swap
(
data
[
j
-
1
]
,
data
[
i
-
1
]
)
;
swap
(
data
[
j
]
,
data
[
i
]
)
;
}
m
=
nn
;
while
(
m
>=
2
&&
j
>
m
)
{
j
-=
m
;
m
>>=
1
;
}
j
+=
m
;
}
;
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 1 min ago | 0.38 KB
Untitled
C++ | 3 min ago | 0.63 KB
Untitled
Python | 37 min ago | 1.13 KB
Untitled
Python | 45 min ago | 7.73 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 51 min ago | 0.39 KB
Untitled
C | 1 hour ago | 4.54 KB
Untitled
Java | 1 hour ago | 0.52 KB
haircut.py
Python | 1 hour ago | 0.69 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!