2 solutions

  • 2
    @ 2025-7-2 14:28:53
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
        int l,w;
        cin>>l>>w;
        cout<<(l+w)*2;
        return 0;
    }
    
    • 2
      @ 2024-11-23 11:57:13
      #include<iostream>
      using namespace std;
      int main()
      {
          int l,w;
          cin>>l>>w;
          cout<<(l+w)*2;
          return 0;
      }
      
      • 1

      Information

      ID
      6
      Time
      1000ms
      Memory
      256MiB
      Difficulty
      1
      Tags
      (None)
      # Submissions
      161
      Accepted
      119
      Uploaded By