diff options
Diffstat (limited to 'problems/budgettraveler/attachments/template.c')
-rw-r--r-- | problems/budgettraveler/attachments/template.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/problems/budgettraveler/attachments/template.c b/problems/budgettraveler/attachments/template.c new file mode 100644 index 0000000..4d569ff --- /dev/null +++ b/problems/budgettraveler/attachments/template.c @@ -0,0 +1,22 @@ +#include <stdlib.h> +#include <stdio.h> +#include <string.h> +#include <stdbool.h> + +int main() +{ + int n; + scanf("%d", &n); + for (int i = 0; i < n; i++) { + int x; + int y; + scanf("%d%d", &x, &y); + } + + // Write an answer using printf(). DON'T FORGET THE TRAILING \n + // To debug: fprintf(stderr, "Debug messages...\n"); + + printf("answer\n"); + + return 0; +} |