PAT1074

#include 

using namespace std;

int main() {
    string s,s1,s2,ans;
    cin>>s>>s1>>s2;

    reverse(s1.begin(),s1.end());
    reverse(s2.begin(),s2.end());
    reverse(s.begin(),s.end());

    int c = 0,r = 0;
    for(int i = 0;i

 

你可能感兴趣的:(PAT)