Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
5 (без функции двоичная)
nq1s788
Jan 13th, 2024
1,686
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.21 KB
| None
|
0
0
raw
download
clone
embed
print
report
answ
=
1000000
for
n
in
range
(
1000000
)
:
s
=
bin
(
n
)
[
2
:
]
if
s.
count
(
'1'
)
%
2
==
0
:
s +
=
'00'
else
:
s +
=
'11'
r
=
int
(
s
,
2
)
if
r
>
114
:
answ
=
min
(
answ
,
r
)
print
(
answ
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Free Technique
CSS | 31 min ago | 0.65 KB
Big $$$ Strategy
CSS | 31 min ago | 0.65 KB
12.OOO IN 2-DAY
CSS | 31 min ago | 0.65 KB
Transmigration
60 min ago | 1.25 KB
Immortal
1 hour ago | 1.34 KB
temp sglang key
15 hours ago | 0.07 KB
test_create
1 day ago | 0.04 KB
R36S Conf Archive Downloader
1 day ago | 2.68 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!