3 solutions

  • 1
    @ 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;
    }
    
    • 1
      @ 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
        @ 2024-11-8 19:44:56

        • 1

        Information

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