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

#R, 80 bytes

R, 80 bytes

Pretty repetitive :

function(h,v,a,b,c)cat(t<-c(a,rep(c,h),a,"\n"),d<-rep(c(b,"\n"),v),t,d,t,sep="")

Ungolfed :

function(h,v,a,b,c)
cat(t<-c(a,rep(c,h),a,"\n"),
 d<-rep(c(b,"\n"),v),
 t,d,t,
 sep="")

#R, 80 bytes

Pretty repetitive :

function(h,v,a,b,c)cat(t<-c(a,rep(c,h),a,"\n"),d<-rep(c(b,"\n"),v),t,d,t,sep="")

Ungolfed :

function(h,v,a,b,c)
cat(t<-c(a,rep(c,h),a,"\n"),
 d<-rep(c(b,"\n"),v),
 t,d,t,
 sep="")

R, 80 bytes

Pretty repetitive :

function(h,v,a,b,c)cat(t<-c(a,rep(c,h),a,"\n"),d<-rep(c(b,"\n"),v),t,d,t,sep="")

Ungolfed :

function(h,v,a,b,c)
cat(t<-c(a,rep(c,h),a,"\n"),
 d<-rep(c(b,"\n"),v),
 t,d,t,
 sep="")
Source Link
Rudier
  • 2.1k
  • 10
  • 21

#R, 80 bytes

Pretty repetitive :

function(h,v,a,b,c)cat(t<-c(a,rep(c,h),a,"\n"),d<-rep(c(b,"\n"),v),t,d,t,sep="")

Ungolfed :

function(h,v,a,b,c)
cat(t<-c(a,rep(c,h),a,"\n"),
 d<-rep(c(b,"\n"),v),
 t,d,t,
 sep="")

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