Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Задача 059(25%)
SSS_Krut
Aug 17th, 2021
1,640
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
s
=
list
(
map
(
int
,
input
(
)
.
split
(
)
)
)
i
=
s
[
0
]
c
=
s
[
1
]
q
=
[
]
while
(
i
>
0
)
:
cifra
=
i%c
q.
append
(
cifra
)
i
=
i//c
d
,
p
=
0
,
1
for
i
in
q:
p*
=
i
d+
=
i
print
(
p-d
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
2 hours ago | 13.38 KB
consol logs
2 hours ago | 27.95 KB
Dappervolk: Stat Block
8 hours ago | 2.47 KB
Dappervolk: Link to Individual Post
8 hours ago | 0.05 KB
Kimberlee L Hesse
11 hours ago | 1.13 KB
Music Used in Amphibia Video Essay
17 hours ago | 2.67 KB
Untitled
18 hours ago | 12.32 KB
Untitled
1 day ago | 12.50 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!