fork download
  1. #include <stdio.h>
  2. int main(void) {
  3. int i,j,c=0, n=100;
  4. for(i=5; i<=n; i+=5) {
  5. for(j=i; j%5==0; j/=5)++c; {
  6. }
  7. }
  8. printf("%d!:%d\n",n,c);
  9. return 0;
  10.  
  11. }
Success #stdin #stdout 0s 5532KB
stdin
Standard input is empty
stdout
100!:24