Atcoder Beginner Contest 167题解

A 若是知足要求,当且仅当:html ① S S S的长度比 T T T正好大1;c++ ②除去 S S S的最后一位,其余与 T T T彻底相同。web 直接模拟便可。数组 #include <bits/stdc++.h> #define int long long using namespace std; string s1,s2; signed main() { cin>>s1>>s2
相关文章
相关标签/搜索