summaryrefslogtreecommitdiff
path: root/kattis-kth/different/main.hs
diff options
context:
space:
mode:
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