solve 4/11

补题:5/11

A 二十四点*

Code:pai爷  zz

Thinking :pai爷

打表找规律,1张牌 10个不可能的 2张牌有 43 种不可能的 3张牌 有74 种不可能的 4 张牌有 5 种不可能的

#include<iostream>
#include<cstring>
#include<cmath>
#include<cstdlib>
#include<cstdio>
#include<algorithm>
#include<string>
#include<map>
#include<queue>
#include<vector>
#include<stack>
#define ll long long
#define maxn 401000
int  main()
{
    int n,a[20];
    while(scanf("%d",&n)!=EOF)
    {
        for(int i=1;i<=n;i++) scanf("%d",&a[i]);
        if(n==6) printf("32\n");
        else  printf("891\n");
    }
}
View Code

相关文章:

  • 2021-08-15
  • 2021-08-09
  • 2021-10-15
  • 2021-10-09
  • 2021-06-12
  • 2019-02-20
猜你喜欢
  • 2021-11-16
  • 2021-11-06
  • 2021-07-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-25
相关资源
相似解决方案