1 solutions

  • 0
    @ 2025-9-12 13:42:06
    #include <iostream>
    #include <string>
    using namespace std;
    int main() {
        string s;
        cin >> s;  
        for (int i = 0; i < s.length(); i++) {
            if (s[i] >= 'a' && s[i] <= 'z') {
                s[i] -= 32;  
            }
        }
        cout << s << endl;  
        return 0;
    }
    
    
    • 1

    Information

    ID
    4710
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    1
    Tags
    (None)
    # Submissions
    3
    Accepted
    3
    Uploaded By