1 solutions

  • 0
    @ 2025-11-5 17:22:04

    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

    Information

    ID
    18350
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    (None)
    Tags
    # Submissions
    0
    Accepted
    0
    Uploaded By