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