summaryrefslogtreecommitdiff
path: root/kattis-kth/different/main.hs
diff options
context:
space:
mode:
authorMathias Magnusson <mathias@magnusson.space>2024-07-06 18:33:45 +0200
committerMathias Magnusson <mathias@magnusson.space>2024-07-06 18:33:45 +0200
commit6e46289f2229152f487ca91855317efd38db20b2 (patch)
treed6028c9206bcbd8a796c43980eaaac9334fe7191 /kattis-kth/different/main.hs
parentf50023521d1d80d2df0f039eec0db6fddb92c033 (diff)
downloadprogramming-problem-solving-6e46289f2229152f487ca91855317efd38db20b2.tar.gz
Found more shid!
Diffstat (limited to 'kattis-kth/different/main.hs')
-rw-r--r--kattis-kth/different/main.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/kattis-kth/different/main.hs b/kattis-kth/different/main.hs
new file mode 100644
index 0000000..7f89338
--- /dev/null
+++ b/kattis-kth/different/main.hs
@@ -0,0 +1 @@
+main=interact$unlines.map(show.abs.foldl1(-).map read.words).lines