Pizzaria

Problem Link

Solution by TheRealFertos100 pts

Code / Notes

#include <bits/stdc++.h>
using namespace std;

int main() {
    int g, p;
    cin >> g >> p;
    g*=8;
    p*=4;
    g=g+p-2;
    cout << g;
}

Last updated 1 month, 4 weeks ago


« Back to problem