摘要:
题意:给你两个串,第一个串里面的字母都是good 字母, 第二个串是模式串,里面除了字母还有?和*(只有一个) ?可以替换所有good字母, *可以替换所有坏字母和空格(可以是多个坏字母!!!这点卡了我很久,也不举一个样例。。。) 然后q次询问,每次给你一个串,问你能否匹配成功,yes or no 阅读全文
摘要:
#include<stdio.h>#include<iostream>#include<algorithm>#include<string.h>#include<stdlib.h>#define LL long long using namespace std; //就是给你一个字符串长度,然后要求 阅读全文