codeforces EDU94 订正
1400F
暴搜一下如果一个串的和为x且其中不存在一个子串
#include<bits/stdc++.h>
using namespace std;
int cnt;
int a[10010];
void dfs(int x,int now,int y)
{
if(now==0)
{
a[++cnt]=y;
return ;
}
for(int i=1;i<=9;i++)
{
int tmp=y;
int flag=1;
原创
2020-08-28 21:34:31 ·
117 阅读 ·
0 评论