From 68a5953bda4ae2b3c135a9eedd12854ce4d2ef1b Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Wed, 2 Dec 2020 13:21:31 +0100 Subject: [PATCH] some details --- solutions/1/README.txt | 3 +++ solutions/2/README.md | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 solutions/1/README.txt create mode 100644 solutions/2/README.md diff --git a/solutions/1/README.txt b/solutions/1/README.txt new file mode 100644 index 0000000..b1bacee --- /dev/null +++ b/solutions/1/README.txt @@ -0,0 +1,3 @@ +# 1 + +This is quite simple, just iterate and find. \ No newline at end of file diff --git a/solutions/2/README.md b/solutions/2/README.md new file mode 100644 index 0000000..732cfa9 --- /dev/null +++ b/solutions/2/README.md @@ -0,0 +1,6 @@ +# 2 + +For the first we can simply count the occurrences and see if they are between the accepted values. +Just some simple parsing. + +The second one is similar, but we can be more efficient if we XOR the first and second position.