aboutsummaryrefslogtreecommitdiff
path: root/problems/theshopowner/attachments/template.c
blob: 0d1ad6c9290e56b1ec6279230406629b6ed14b2f (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 <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdbool.h>

int main()
{
    int d;
    scanf("%d", &d);
    int c;
    scanf("%d", &c);
    int n;
    scanf("%d", &n);
    for (int i = 0; i < n; i++) {
        int unit_cost;
        int unit_revenue;
        int quantity;
        scanf("%d%d%d", &unit_cost, &unit_revenue, &quantity);
    }

    // Write an answer using printf(). DON'T FORGET THE TRAILING \n
    // To debug: fprintf(stderr, "Debug messages...\n");

    printf("answer\n");

    return 0;
}