Groups
Groups
Sign in
Groups
Groups
星星爱CPP
Conversations
About
Send feedback
Help
1000的阶乘 的尾部0的数目
0 views
Skip to first unread message
bruc...@gmail.com
unread,
Jul 7, 2006, 1:01:05 AM
7/7/06
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 星星爱CPP
#include <iostream>
using namespace std;
int main()
{
size_t m = 0;
for( size_t n=1000; n; m+=n/=5 );
cout << m << endl;
}
Reply all
Reply to author
Forward
0 new messages