diff options
Diffstat (limited to 'problems/findpalindromes/attachments/template.c')
-rw-r--r-- | problems/findpalindromes/attachments/template.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/problems/findpalindromes/attachments/template.c b/problems/findpalindromes/attachments/template.c new file mode 100644 index 0000000..cd786d1 --- /dev/null +++ b/problems/findpalindromes/attachments/template.c @@ -0,0 +1,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 s[257]; + scanf("%[^\n]", s); fgetc(stdin); + } + + // Write an answer using printf(). DON'T FORGET THE TRAILING \n + // To debug: fprintf(stderr, "Debug messages...\n"); + + printf("good_luck\n"); + + return 0; +} |