Skip to content

Commit 02cfcda

Browse files
committed
✨ lc b144-1
1 parent 4fb4a33 commit 02cfcda

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

B0144_Problem_1.bqn

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)