We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fb4a33 commit 02cfcdaCopy full SHA for 02cfcda
B0144_Problem_1.bqn
@@ -0,0 +1,17 @@
1
+# For up to date code:
2
+# https://github.com/codereport/bqn-code/blob/main/leetcode/b144-1.bqn
3
+
4
+# Link: https://leetcode.com/problems/smallest-divisible-digit-product-i
5
6
+⟨UnitTest⟩ ⇐ •Import "/home/cph/bqn-test/test.bqn"
7
8
+CanAliceWin ← {2|+´𝕩≥+`⌽↕11}
9
10
+# Tests
11
+UnitTest (CanAliceWin 12) ≡ 1
12
+UnitTest (CanAliceWin 11) ≡ 1
13
+UnitTest (CanAliceWin 10) ≡ 1
14
+UnitTest (CanAliceWin 19) ≡ 0
15
+UnitTest (CanAliceWin 26) ≡ 0
16
+UnitTest (CanAliceWin 27) ≡ 1
17
+UnitTest (CanAliceWin 1) ≡ 0
0 commit comments