1 solutions

  • 1
    @ 2025-3-31 20:03:07
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
        string t;
        cin>>t;
        for(int i=0;i<t.length();i++)
        {
            if(t[i]>='a'&&t[i]<='z')
            {
                t[i]-=32;
            }
            else
            {
                t[i]=t[i];
            }
        }
        cout<<t;
        return 0;
    }
    
    • 1

    Information

    ID
    9755
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    1
    Tags
    (None)
    # Submissions
    58
    Accepted
    26
    Uploaded By