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

#T-SQL, 69 bytes

T-SQL, 69 bytes

SELECT top 9replicate(1+number,1+number)FROM spt_values WHERE'p'=type

Try it online

#T-SQL, 69 bytes

SELECT top 9replicate(1+number,1+number)FROM spt_values WHERE'p'=type

Try it online

T-SQL, 69 bytes

SELECT top 9replicate(1+number,1+number)FROM spt_values WHERE'p'=type

Try it online

deleted 119 characters in body
Source Link
t-clausen.dk
  • 3.8k
  • 13
  • 17

#T-SQL, 7869 bytes

Setting @x to 0 instead of '' and pushing it out of the variable by adding the results. Saving 1 character this way.

DECLARE @ INT=9,@xSELECT char(45)=0WHILE
@>0SELECTtop @x=replicate9replicate(@1+number,@1+number)+@x,@-=1PRINTFROM @xspt_values WHERE'p'=type

Try it online Try it online

#T-SQL, 78 bytes

Setting @x to 0 instead of '' and pushing it out of the variable by adding the results. Saving 1 character this way.

DECLARE @ INT=9,@x char(45)=0WHILE
@>0SELECT @x=replicate(@,@)+@x,@-=1PRINT @x

Try it online

#T-SQL, 69 bytes

SELECT top 9replicate(1+number,1+number)FROM spt_values WHERE'p'=type

Try it online

Source Link
t-clausen.dk
  • 3.8k
  • 13
  • 17

#T-SQL, 78 bytes

Setting @x to 0 instead of '' and pushing it out of the variable by adding the results. Saving 1 character this way.

DECLARE @ INT=9,@x char(45)=0WHILE
@>0SELECT @x=replicate(@,@)+@x,@-=1PRINT @x

Try it online

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