Pizzaria
Problem LinkSolution by mateusgrl39 — 100 pts
Code / Notes
#include <bits/stdc++.h>
using namespace std;
int main() {
int G, P;
cin >> G >> P;
int total = 8*G + 4*P;
int brothers = total - 2;
cout << brothers << endl;
}
Last updated 1 month, 4 weeks ago