aboutsummaryrefslogtreecommitdiff
path: root/problems/aweirdclock/attachments/template.c
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2024-09-30 16:08:27 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2024-09-30 16:08:27 +0530
commit3496b0ed08c51e37e135e686b1632fd86f930c2c (patch)
tree1da44792489607070f3b4ca14d82af05b73e362b /problems/aweirdclock/attachments/template.c
(init): Initialize repository.
Diffstat (limited to 'problems/aweirdclock/attachments/template.c')
-rw-r--r--problems/aweirdclock/attachments/template.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/problems/aweirdclock/attachments/template.c b/problems/aweirdclock/attachments/template.c
new file mode 100644
index 0000000..2f9fd8f
--- /dev/null
+++ b/problems/aweirdclock/attachments/template.c
@@ -0,0 +1,17 @@
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <stdbool.h>
+
+int main()
+{
+ char readable_text[6];
+ scanf("%[^\n]", readable_text);
+
+ // Write an answer using printf(). DON'T FORGET THE TRAILING \n
+ // To debug: fprintf(stderr, "Debug messages...\n");
+
+ printf("HH:MM\n");
+
+ return 0;
+}