알고리즘

[알고리즘] 백준 21300 - Bottle Return (C++)

blueberrysoda 2024. 9. 22. 23:53

[문제 링크] : https://www.acmicpc.net/problem/21300

#include <iostream>
using namespace std;

int main(){
    int Ans = 0, inp;
    for(int i=0; i<6; i++){
        cin >> inp;
        Ans += inp;
    }
    cout << Ans * 5 << "\n";
    return 0;
}