1 条题解

  • 0
    @ 2025-9-10 0:11:13

    C++ :

    #include<cstdio>
    #include<cstring>
    #include<cmath>
    #include<iostream>
    #include<algorithm>
    #include<string>
    using namespace std;
    
    string s;
    
    int main()
    {
        //freopen("input.txt","r",stdin);
        //freopen("output.txt","w",stdout);
        int t;
        cin>>t;
        while(t--)
        {
            cin>>s;
            if(s=="0"||s=="1")
            {
                cout<<"StraightBoy."<<endl;
            }
            else
            {
                cout<<"SunShineBoy."<<endl;
            }
        }
        return 0;
    }
    
    
    • 1

    信息

    ID
    3122
    时间
    1000ms
    内存
    128MiB
    难度
    (无)
    标签
    递交数
    0
    已通过
    0
    上传者