3 solutions

  • 1
    @ 2025-4-26 11:30:54

    #include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; cout<<setw(4)<<setfill('0')<<n; return 0; }

    • 1
      @ 2025-4-26 11:30:25

      #include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; cout<<setw(4)<<setfill('0')<<n; return 0; }

      • 0
        @ 2025-2-23 16:16:09
        #include<bits/stdc++.h>
        using namespace std;
        int main()
        {
            int n;
            cin>>n;
            cout<<setw(4)<<setfill('0')<<n;
            return 0;
        }
        
        
        • 1

        Information

        ID
        2301
        Time
        1000ms
        Memory
        256MiB
        Difficulty
        1
        Tags
        (None)
        # Submissions
        52
        Accepted
        38
        Uploaded By