aboutsummaryrefslogtreecommitdiff
path: root/problems/whoisleading/attachments/template.c
blob: 9b6c31737948980992113eda33512e947276eeb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdbool.h>

int main()
{
    char teams[101];
    scanf("%[^\n]", teams); fgetc(stdin);
    char scores_1[201];
    scanf("%[^\n]", scores_1); fgetc(stdin);
    char scores_2[201];
    scanf("%[^\n]", scores_2);
    for (int i = 0; i < 2; i++) {

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

        printf("Team name: score minutes_leading\n");
    }

    return 0;
}