Saleh127

cf 1433E

Oct 21st, 2020
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3. #define ll long long
  4. #define test int t; cin>>t; for(int cs=1;cs<=t;cs++)
  5. int main()
  6. {
  7. ios_base::sync_with_stdio(0);
  8. cin.tie(0);cout.tie(0);
  9.  
  10.  
  11.  
  12. ll a,c,d,e,n=1,i;
  13. cin>>a;
  14.  
  15. for(i=1;i<=a;i++)
  16. {
  17. n*=i;
  18. }
  19. c=(n/a)/(a/2);
  20. cout<<c<<endl;
  21.  
  22.  
  23.  
  24.  
  25. return 0;
  26. }
  27.  
Add Comment
Please, Sign In to add comment