1 条题解

  • 0
    @ 2024-10-16 20:23:15

    参考答案:

    #include<iostream>
    #include<algorithm>
    #include<string>
    using namespace std;
    int main()
    {
        string s1, s2;
        cin >> s1 >> s2;
    
        if (s2[0] == 'e' && s1[0] == 't' || s2[0] == 't' && s1[0] == 'c' || s2[0] == 'c' && s1[0] == 'm' || s2[0] == 'm' && s1[0] == 'e') cout << "tiangou txdy";
        else cout << "tiangou yiwusuoyou";
        return 0;
    }
    
    • 1

    信息

    ID
    5419
    时间
    1000ms
    内存
    256MiB
    难度
    1
    标签
    递交数
    4
    已通过
    2
    上传者