Pizzaria

Problem Link

Solution by JAPAMISTERIOSO100 pts

Code / Notes

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

int main() {
    int G;
    int P;
    cin >> G;
    cin >> P;
    int nf = (P*4)+(G*8)-2;
    cout << nf;
    }

Last updated 1 month, 3 weeks ago


« Back to problem