summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--problem743.ijs6
1 files changed, 6 insertions, 0 deletions
diff --git a/problem743.ijs b/problem743.ijs
new file mode 100644
index 0000000..989d98a
--- /dev/null
+++ b/problem743.ijs
@@ -0,0 +1,6 @@
+M =: 1000000007
+P =: M&|@^
+T =: M|*
+A =: {{{:p{{(>:a),d,M|c+d=.T/b,(1 2+n-+:a),(M-2)P~T/(a P 2),2 P 2*>:m['a b c'=.y}}x^:(<.-:x)1,,~2 P x*>:p=.x%~y-x}}
+
+problem743 =: 1e8 A 1e16 \ No newline at end of file