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

added 1 character in body
Source Link
digEmAll
  • 5.1k
  • 15
  • 22

R, 6765 bytes

c(outer(c('A',2:10,J<-'J','Q','K'),c('S','D','H','C'),paste0paste),'J'J,'J'J)

Try it online! Try it online!

-2 Bytes thanks to @Giuseppe and @JayCe suggestions

R, 67 bytes

c(outer(c('A',2:10,'J','Q','K'),c('S','D','H','C'),paste0),'J','J')

Try it online!

R, 65 bytes

c(outer(c('A',2:10,J<-'J','Q','K'),c('S','D','H','C'),paste),J,J)

Try it online!

-2 Bytes thanks to @Giuseppe and @JayCe suggestions

Source Link
digEmAll
  • 5.1k
  • 15
  • 22

R, 67 bytes

c(outer(c('A',2:10,'J','Q','K'),c('S','D','H','C'),paste0),'J','J')

Try it online!

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