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

#Japt -R, (削除) 11 (削除ここまで) 10 bytes

Japt -R, (削除) 11 (削除ここまで) 10 bytes

ưçSi*Ãû ê

Try it (or use TIO to run multiple tests)


##Explanation :Implicit input of integer U Æ :Map the range [0,U) ° : Postfix increment U ç : Repeat S : Space i* : Prepend asterisk à :End map û :Centre pad each string with spaces to the length of the longest string ê :Palindromise :Implicitly join with newlines and output

Explanation

 :Implicit input of integer U
Æ :Map the range [0,U)
 ° : Postfix increment U
 ç : Repeat
 S : Space
 i* : Prepend asterisk
 Ã :End map
 û :Centre pad each string with spaces to the length of the longest string
 ê :Palindromise
 :Implicitly join with newlines and output

#Japt -R, (削除) 11 (削除ここまで) 10 bytes

ưçSi*Ãû ê

Try it (or use TIO to run multiple tests)


##Explanation :Implicit input of integer U Æ :Map the range [0,U) ° : Postfix increment U ç : Repeat S : Space i* : Prepend asterisk à :End map û :Centre pad each string with spaces to the length of the longest string ê :Palindromise :Implicitly join with newlines and output

Japt -R, (削除) 11 (削除ここまで) 10 bytes

ưçSi*Ãû ê

Try it (or use TIO to run multiple tests)


Explanation

 :Implicit input of integer U
Æ :Map the range [0,U)
 ° : Postfix increment U
 ç : Repeat
 S : Space
 i* : Prepend asterisk
 Ã :End map
 û :Centre pad each string with spaces to the length of the longest string
 ê :Palindromise
 :Implicitly join with newlines and output
deleted 4 characters in body
Source Link
Shaggy
  • 45k
  • 4
  • 39
  • 95

#Japt -R, 11(削除) 11 (削除ここまで) 10 bytes

ÆU°çSi*ÃûưçSi*Ãû ê

Try it Try it (or use TIO to run multiple tests)


##Explanation :Implicit input of integer U Æ :Map the range [0,U) ° : Postfix increment U ç : Repeat S : Space Space i* : Prepend Prepend asterisk à :End functionmap û :Centre pad each string with spaces to the length of the longest string ê :Palindromise :Implicitly join with newlines and output

#Japt -R, 11 bytes

ÆU°çSi*Ãû ê

Try it (or use TIO to run multiple tests)


##Explanation :Implicit input of integer U Æ :Map the range [0,U) : Postfix increment U ç : Repeat S : Space i* : Prepend asterisk à :End function û :Centre pad each string with spaces to the length of the longest string ê :Palindromise :Implicitly join with newlines and output

#Japt -R, (削除) 11 (削除ここまで) 10 bytes

ưçSi*Ãû ê

Try it (or use TIO to run multiple tests)


##Explanation :Implicit input of integer U Æ :Map the range [0,U) ° : Postfix increment U ç : Repeat S : Space i* : Prepend asterisk à :End map û :Centre pad each string with spaces to the length of the longest string ê :Palindromise :Implicitly join with newlines and output

deleted 44 characters in body
Source Link
Shaggy
  • 45k
  • 4
  • 39
  • 95

#Japt -R, 11 bytes

ÆU°çSi*Ãû ê

Try it (or use TIO to run multiple tests)


##Explanation :Implicit input of integer U Æ :CreateMap the range [0,U) and pass each through a function U° : Postfix increment U ç : Repeat U times S : Space i* : Prepend asterisk à :End function û :Centre pad each string with spaces to the length of the longest string ê :Palindromise :Implicitly join with newlines and output

#Japt -R, 11 bytes

ÆU°çSi*Ãû ê

Try it (or use TIO to run multiple tests)


##Explanation :Implicit input of integer U Æ :Create the range [0,U) and pass each through a function U° : Postfix increment U ç : Repeat U times S : Space i* : Prepend asterisk à :End function û :Centre pad each string with spaces to the length of the longest string ê :Palindromise :Implicitly join with newlines and output

#Japt -R, 11 bytes

ÆU°çSi*Ãû ê

Try it (or use TIO to run multiple tests)


##Explanation :Implicit input of integer U Æ :Map the range [0,U) U° : Postfix increment U ç : Repeat S : Space i* : Prepend asterisk à :End function û :Centre pad each string with spaces to the length of the longest string ê :Palindromise :Implicitly join with newlines and output

edited body
Source Link
Shaggy
  • 45k
  • 4
  • 39
  • 95
Loading
added 147 characters in body
Source Link
Shaggy
  • 45k
  • 4
  • 39
  • 95
Loading
added 532 characters in body
Source Link
Shaggy
  • 45k
  • 4
  • 39
  • 95
Loading
Source Link
Shaggy
  • 45k
  • 4
  • 39
  • 95
Loading

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