大数比较+二分: #include<algorithm>#include<stdio.h>#include<string>#include<string.h>#include<math.h>#include<queue>#include<iostream>using namespace std;#define M 105char a[M+2],b[M+2];char book
Ela的回文串 Problem:1316 Time Limit:1000ms Memory Limit:65535K Description Ela在算法课上学习了回文串,但是她不想在回文串中出现她不喜欢的字符。现在Ela告诉我们她喜欢的字符是{A, H, I, M, O, T, U, V, W, X, Y} 她想知道对于某个字符串中只包