摘要:
思路 这题既然不关心大小写,所以我们可以把输入的字符串和要比较的字符串中的大写字母都转化成小写,再比较就行。 代码 # include <bits/stdc++.h> using namespace std; string a; int main () { cin >> a; for (int i 阅读全文
摘要:
洛谷传送门 & CF 传送门 思路 题目中有句很重要的话: Each input file has at most 555 test cases which do not satisfy A,B,C≤3A,B,C\leq3A,B,C≤3. 这意味着 O(10A)O(10^A)O(10A) 的做法是可 阅读全文