diff options
Diffstat (limited to 'problems/wordle/attachments/template.c')
-rw-r--r-- | problems/wordle/attachments/template.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/problems/wordle/attachments/template.c b/problems/wordle/attachments/template.c new file mode 100644 index 0000000..7aad312 --- /dev/null +++ b/problems/wordle/attachments/template.c @@ -0,0 +1,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; +} |