Niloy007

A Football Codeforces

Apr 1st, 2020
141
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main() {
  5.     int n, ans = 1;
  6.     cin >> n;
  7.  
  8.     for(int i = n; i >= 1; i--) {
  9.         ans *= i;
  10.     }
  11.  
  12.     cout << ans << endl;
  13. }
RAW Paste Data