2 条题解

  • 1
    @ 2022-7-3 22:52:45

    Py写代码!

    a=int(input())
    print(a*(a-1)*(a-2)*(a-3)//24
    

    https://www.luogu.com.cn/record/78361818

    (本人完隐)

    • 1
      @ 2022-5-18 22:18:12

      `

      #include <bits/stdc++.h>
      using namespace std;
      int main()
      {
      	unsigned long long n ;
      	cin >> n ;
      	cout << (n * (n - 1) / 2 * (n - 2) / 3 * (n - 3) / 4) << endl ;
      	return 0; 
      }
      
      • 1

      信息

      ID
      1139
      时间
      1000ms
      内存
      125MiB
      难度
      3
      标签
      递交数
      21
      已通过
      9
      上传者