Post History
[Extended] Dyalog APL, 4 bytes* *10 bytes, 4 unique '÷'÷⍥≢'÷÷' This computes the length of the string '÷' divided by the length of the string '÷÷' Alternate solution (extended only) (6 unique...
Answer
#3: Post edited
# [Extended] Dyalog APL, 5 bytes**12 bytes, 5 unique- ```apl
(≢'÷')÷≢'÷÷'- ```
- This computes the length of the string `'÷'` divided by the length of the string `'÷÷'`
- ## Alternate solution (extended only) (6 unique, 6 bytes)
- ```apl
- ⊢÷+⍨×∞
- ```
- This computes
- \[
- \left(\lambda x.\frac{x}{x+x}\right) \mathrm{sign}\infty
- \]
- # [Extended] Dyalog APL, 4 bytes*
- *10 bytes, 4 unique
- ```apl
- '÷'÷⍥≢'÷÷'
- ```
- This computes the length of the string `'÷'` divided by the length of the string `'÷÷'`
- ## Alternate solution (extended only) (6 unique, 6 bytes)
- ```apl
- ⊢÷+⍨×∞
- ```
- This computes
- \[
- \left(\lambda x.\frac{x}{x+x}\right) \mathrm{sign}\infty
- \]
#2: Post edited
# [Extended] Dyalog APL, 5 unique (12 bytes)- ```apl
- (≢'÷')÷≢'÷÷'
- ```
- This computes the length of the string `'÷'` divided by the length of the string `'÷÷'`
- ## Alternate solution (extended only) (6 unique, 6 bytes)
- ```apl
- ⊢÷+⍨×∞
- ```
- This computes
- \[
- \left(\lambda x.\frac{x}{x+x}\right) \mathrm{sign}\infty
- \]
- # [Extended] Dyalog APL, 5 bytes*
- *12 bytes, 5 unique
- ```apl
- (≢'÷')÷≢'÷÷'
- ```
- This computes the length of the string `'÷'` divided by the length of the string `'÷÷'`
- ## Alternate solution (extended only) (6 unique, 6 bytes)
- ```apl
- ⊢÷+⍨×∞
- ```
- This computes
- \[
- \left(\lambda x.\frac{x}{x+x}\right) \mathrm{sign}\infty
- \]
#1: Initial revision
# [Extended] Dyalog APL, 5 unique (12 bytes) ```apl (≢'÷')÷≢'÷÷' ``` This computes the length of the string `'÷'` divided by the length of the string `'÷÷'` ## Alternate solution (extended only) (6 unique, 6 bytes) ```apl ⊢÷+⍨×∞ ``` This computes \[ \left(\lambda x.\frac{x}{x+x}\right) \mathrm{sign}\infty \]