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

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

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

        printf("__G_Y\n");
    }

    return 0;
}