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-11-26
  • 2021-11-01
  • 2022-01-08
  • 2021-05-03
  • 2021-03-31
  • 2021-09-13
  • 2021-08-23
  • 2021-07-05
猜你喜欢
  • 2021-09-21
  • 2021-04-19
  • 2021-07-21
  • 2021-12-03
  • 2021-07-15
  • 2021-10-30
  • 2021-05-08
  • 2021-06-26
相关资源
相似解决方案