fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. int C;
  7. long long a;
  8. cin>>C;
  9. a=1;
  10. for (int i= 1; i <=C; ++i){
  11. a=a*i;}
  12. cout<<a;
  13. return 0;
  14. }
Success #stdin #stdout 0s 4500KB
stdin
25
stdout
7034535277573963776