Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
127
SelinD
May 16th, 2019
43
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.25 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include<iostream>
using namespace std;
int main()
{
int n,i,nrz=0,aux;
cin>>n;
for(i=5;i<=n;i=i+5)
{
aux=i;
while(aux%5==0)
{
aux=aux/5;
nrz++;
}
}
cout<<nrz<<" ";
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
zsh
Bash | 2 min ago | 0.91 KB
Untitled
C++ | 11 min ago | 0.85 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 18 min ago | 0.38 KB
Untitled
C++ | 28 min ago | 0.43 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 44 min ago | 0.39 KB
04. Mouse Gradient
JavaScript | 1 hour ago | 0.89 KB
R2 Hook
C++ | 1 hour ago | 2.67 KB
lr_4_krypta
Python | 1 hour ago | 2.69 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!