Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Answer

Commonmark migration
Source Link

#JavaScript (Using external library - Enumerable) ((削除) 90 (削除ここまで)(削除) 88 (削除ここまで)(削除) 86 (削除ここまで) 80 bytes)

JavaScript (Using external library - Enumerable) ((削除) 90 (削除ここまで)(削除) 88 (削除ここまで)(削除) 86 (削除ここまで) 80 bytes)

Link to lib: https://github.com/mvegh1/Enumerable

(z=_.Range)(0,26).WriteLine(x=>z(x*x,2*x+1).Write("",y=>(y%26+10).toString(36)))

Code explanation: Create range of ints 0 to 25, and for each write a new line according to the predicate. For each line, create a range of ints starting at the square of the current int, for a count of 2x+1. Then take that range, and join it into a string delimited by nothing where each int is casted to the String represented by the int ascii code

enter image description here

#JavaScript (Using external library - Enumerable) ((削除) 90 (削除ここまで)(削除) 88 (削除ここまで)(削除) 86 (削除ここまで) 80 bytes)

Link to lib: https://github.com/mvegh1/Enumerable

(z=_.Range)(0,26).WriteLine(x=>z(x*x,2*x+1).Write("",y=>(y%26+10).toString(36)))

Code explanation: Create range of ints 0 to 25, and for each write a new line according to the predicate. For each line, create a range of ints starting at the square of the current int, for a count of 2x+1. Then take that range, and join it into a string delimited by nothing where each int is casted to the String represented by the int ascii code

enter image description here

JavaScript (Using external library - Enumerable) ((削除) 90 (削除ここまで)(削除) 88 (削除ここまで)(削除) 86 (削除ここまで) 80 bytes)

Link to lib: https://github.com/mvegh1/Enumerable

(z=_.Range)(0,26).WriteLine(x=>z(x*x,2*x+1).Write("",y=>(y%26+10).toString(36)))

Code explanation: Create range of ints 0 to 25, and for each write a new line according to the predicate. For each line, create a range of ints starting at the square of the current int, for a count of 2x+1. Then take that range, and join it into a string delimited by nothing where each int is casted to the String represented by the int ascii code

enter image description here

[Edit removed during grace period]
Source Link
added 4 characters in body
Source Link

#JavaScript (Using external library - Enumerable) ((削除) 90 (削除ここまで) (削除) 88 (削除ここまで) 86(削除) 86 (削除ここまで) 80 bytes)

Link to lib: https://github.com/mvegh1/Enumerable

(z=_.Range)(0,26).WriteLine(x=>z(x*x,2*x+1).Write("",y=>Stringy=>(y%26+10).fromCharCodetoString(y%26+6536)))

Code explanation: Create range of ints 0 to 25, and for each write a new line according to the predicate. For each line, create a range of ints starting at the square of the current int, for a count of 2x+1. Then take that range, and join it into a string delimited by nothing where each int is casted to the String represented by the int ascii code

enter image description here enter image description here

#JavaScript (Using external library - Enumerable) ((削除) 90 (削除ここまで) (削除) 88 (削除ここまで) 86 bytes)

Link to lib: https://github.com/mvegh1/Enumerable

(z=_.Range)(0,26).WriteLine(x=>z(x*x,2*x+1).Write("",y=>String.fromCharCode(y%26+65)))

Code explanation: Create range of ints 0 to 25, and for each write a new line according to the predicate. For each line, create a range of ints starting at the square of the current int, for a count of 2x+1. Then take that range, and join it into a string delimited by nothing where each int is casted to the String represented by the int ascii code

enter image description here

#JavaScript (Using external library - Enumerable) ((削除) 90 (削除ここまで) (削除) 88 (削除ここまで) (削除) 86 (削除ここまで) 80 bytes)

Link to lib: https://github.com/mvegh1/Enumerable

(z=_.Range)(0,26).WriteLine(x=>z(x*x,2*x+1).Write("",y=>(y%26+10).toString(36)))

Code explanation: Create range of ints 0 to 25, and for each write a new line according to the predicate. For each line, create a range of ints starting at the square of the current int, for a count of 2x+1. Then take that range, and join it into a string delimited by nothing where each int is casted to the String represented by the int ascii code

enter image description here

Removed even more unnecessary markup
Source Link
Loading
Saved 2 bytes by using global variable hack
Source Link
Loading
Source Link
Loading

AltStyle によって変換されたページ (->オリジナル) /