Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
GeeckoDev
Aug 30th, 2011
125
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
int
nbDiviseurs
(
int
n
)
{
int
n_div
=
2
,
sqrt_n
=
sqrtf
(
n
)
;
for
(
i
=
2
;
i
<=
sqrt_n
;
i
++
)
{
if
(
n
%
i
==
0
)
n_div
+=
1
+
i
!=
n
/
i
;
}
return
n_div
;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
27 min ago | 8.84 KB
Untitled
2 hours ago | 8.66 KB
Untitled
4 hours ago | 12.72 KB
Schutzrechte, Games, Software, Hardware und P...
5 hours ago | 6.98 KB
Untitled
6 hours ago | 9.53 KB
Untitled
7 hours ago | 6.78 KB
Untitled
8 hours ago | 21.79 KB
Untitled
10 hours ago | 16.31 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!