4 solutions

  • 1
    @ 2023-11-25 16:46:50
    #include <bits/stdc++.h>
    using namespace std;
    
    int a,b,c;
    
    int main(){
        cin >> a >> b >> c;
        cout << (a + b) * c;//×要写成*
        return 0;
    }
    
    • 0
      @ 2023-10-28 16:51:28
      #include <bits/stdc++.h>
      using namespace std;
      int main()
      {
          int a,b,c;
          cin>>a>>b>>c;
          cout<<(a+b)*c<<endl;
          return 0;
      }
      
      • 0
        @ 2023-8-21 11:50:31
        #include<bits/stdc++.h>
        using namespace std;
        int main()
        {
        	int a,b,c;
        	cin>>a>>b>>c;
        	cout<<(a+b)*c;	
        	return 0;
        }
        
        • 0
          @ 2023-6-28 12:30:14

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

          • 1

          Information

          ID
          8
          Time
          1000ms
          Memory
          128MiB
          Difficulty
          1
          Tags
          (None)
          # Submissions
          41
          Accepted
          33
          Uploaded By