3 solutions

  • 1
    @ 2026-9-12 14:48:05

    as,,d,d ,, ,s,we,d,qd,qdw

    • 1
      @ 2025-1-23 15:02:13

      f1:

      #include<bits/stdc++.h>
      using namespace std;
      int main()
      {
          int a,b;
          cin>>a>>b;
          swap(a,b);
          cout<<a<<" "<<b;
          return 0;
      }
      

      f2:

      #include<bits/stdc++.h>
      using namespace std;
      int main()
      {
          int a,b;
          cin>>a>>b;
          cout<<b<<" "<<a;
          return 0;
      }
      

      f3:

      #include<bits/stdc++.h>
      using namespace std;
      int main()
      {
          int a,b,c;
          cin>>a>>b;
          c=a;
          a=b;
          b=c;
          cout<<a<<" "<<b;
          return 0;
      }
      
      • -2
        @ 2025-3-17 18:29:33
        #include<bits/stdc++.h>
        using namespace std;
        int main()
        {
            int n,m;
            cin>>n>>m;
            swap(n,m);
            cout<<n<<" "<<m;
            return 0;
        }
        
        • 1

        Information

        ID
        9
        Time
        1000ms
        Memory
        256MiB
        Difficulty
        1
        Tags
        # Submissions
        307
        Accepted
        138
        Uploaded By