aboutsummaryrefslogtreecommitdiff
path: root/Puzzle21.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Puzzle21.hs')
-rw-r--r--Puzzle21.hs18
1 files changed, 17 insertions, 1 deletions
diff --git a/Puzzle21.hs b/Puzzle21.hs
index 080e4e2..5a23000 100644
--- a/Puzzle21.hs
+++ b/Puzzle21.hs
@@ -1,4 +1,20 @@
--- Author: Yuchen Pei (me@ypei.me)
+{-
+Copyright (C) 2017 Yuchen Pei.
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU Affero General Public License as
+published by the Free Software Foundation, either version 3 of the
+License, or (at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU Affero General Public
+License along with this program. If not, see
+<https://www.gnu.org/licenses/>.
+-}
import Data.List (transpose)
import Data.List.Split (splitOn)
import Data.Map (Map)