aboutsummaryrefslogtreecommitdiff
path: root/problems/theshopowner/attachments/template.cpp
blob: 9b4747935a756946ff7142d99b123225489cf453 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>

using namespace std;

int main()
{
    int d;
    cin >> d; cin.ignore();
    int c;
    cin >> c; cin.ignore();
    int n;
    cin >> n; cin.ignore();
    for (int i = 0; i < n; i++) {
        int unit_cost;
        int unit_revenue;
        int quantity;
        cin >> unit_cost >> unit_revenue >> quantity; cin.ignore();
    }

    // Write an answer using cout. DON'T FORGET THE "<< endl"
    // To debug: cerr << "Debug messages..." << endl;

    cout << "answer" << endl;
}