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

int main()
{
    int n;
    scanf("%d", &n); fgetc(stdin);
    for (int i = 0; i < n; i++) {
        char analysis[1025];
        scanf("%[^\n]", analysis); fgetc(stdin);
    }

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

    printf("one line per boat with its position or one line per analysis causing an error\n");

    return 0;
}