fork download
  1. #include <stdio.h>
  2. int main()
  3. {
  4. int s=1;
  5. for(int i=1;i<=10;i++){
  6. s=s*i;
  7. }
  8. printf("%d\n",s);
  9. return 0;
  10. }
Success #stdin #stdout 0.01s 5316KB
stdin
Standard input is empty
stdout
3628800