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