摘要: A[ABC172B(20)] 计算多少个对应的位置不同即可。 #include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); string s, t; 阅读全文
posted @ 2021-08-04 20:51 19992147 阅读(60) 评论(0) 推荐(0) 编辑
摘要: A[CF1025A(800)] 观察一下容易发现只要存在两个不同字母即可。 #include <bits/stdc++.h> using namespace std; int main() { int N; cin >> N; string S; cin >> S; if (N == 1) { co 阅读全文
posted @ 2021-08-04 20:39 19992147 阅读(58) 评论(0) 推荐(0) 编辑