From d153b44e1e0c2a3614d3d3c0b6720160ace949b1 Mon Sep 17 00:00:00 2001 From: MrBounty Date: Thu, 5 Dec 2024 00:19:29 +0100 Subject: [PATCH] Deleted mojo file --- day1/main.mojo | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 day1/main.mojo diff --git a/day1/main.mojo b/day1/main.mojo deleted file mode 100644 index 893b680..0000000 --- a/day1/main.mojo +++ /dev/null @@ -1,21 +0,0 @@ -from time import now -from collections import List -from collections.string import atol -from Sort import sort - -fn main() raises: - start = now() - with open("day1/input", "r") as f: - content = f.read() - - left = List[Int]() - right = List[Int]() - - for line in content.split('\n')[0:-1]: - left.append(atol(line[][0:5])) - right.append(atol(line[][8:13])) - - - print("Took ", (now() - start) / 1_000_000, "ms") - -fn sort()