Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
May 21st, 2018
127
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C#
0.33 KB
| None
|
0
0
raw
download
clone
embed
print
report
int
a
=
int
.
Parse
(
Console
.
ReadLine
(
)
)
;
double
x
=
0
,d
=
0
;
while
(
a
>
0
)
{
if
(
a
%
10
>
0
)
{
x
=
x
+
Math
.
Pow
(
2
, d
)
;
}
d
++;
a
=
a
/
10
;
}
Console
.
WriteLine
(
x
)
;
Add Comment
Please,
Sign In
to add comment
Public Pastes
[SvodkaDZ] Config Excample Json File
JSON | 5 min ago | 2.71 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 12 min ago | 0.39 KB
Untitled
C# | 1 hour ago | 0.24 KB
immediately invoked lambda expression
C++ | 1 hour ago | 7.73 KB
Untitled
JavaScript | 2 hours ago | 0.53 KB
nrzZoom Storyline Object Zoom Call
JavaScript | 3 hours ago | 0.13 KB
nrzZoom Storyline Object Zoom Library
JavaScript | 3 hours ago | 0.65 KB
ntp_install.lua
Lua | 3 hours ago | 0.23 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!