Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
битовые операции
gashink_t
Feb 12th, 2020
116
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C
0.20 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include <stdio.h>
int
main
(
)
{
int
n
,
k
=
0
;
printf
(
"vvedite chislo: n = "
)
;
scanf
(
"%d"
,
&
n
)
;
while
(
n
!=
0
)
{
if
(
n
%
2
==
1
)
k
++;
n
=
n
/
2
;
}
printf
(
"v chisle n %d edenic
\n
"
,
k
)
;
return
0
;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
guessnummodified
Python | 13 min ago | 1.93 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 58 min ago | 0.39 KB
nytimes soduko auto solver
JavaScript | 1 hour ago | 3.08 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 💰
GetText | 2 hours ago | 0.38 KB
2024-05-05_stats.json
JSON | 2 hours ago | 5.73 KB
2024-05-05_stats.json
JSON | 2 hours ago | 5.72 KB
2024-05-05_stats.json
JSON | 2 hours ago | 5.67 KB
Untitled
Lua | 3 hours ago | 0.62 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!