6 solutions

  • 2
    @ 2025-7-2 15:28:55
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
        int n;
        cin>>n;
        cout<<setw(4)<<setfill('0')<<n;
        return 0;
    }
    
    • 1
      @ 2026-8-20 20:32:42
      #include<bits/stdc++.h>
      using namespace std;
      int main()
      {
      	int a;
      	int x=0;
      	cin>>a;
      	cout<<setw(4)<<setfill('0')<<a;
      	return 0;
      }
      • 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-9-27 15:12:59

            #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
              139
              Accepted
              89
              Uploaded By