| Bytes | Lang | Time | Link |
|---|---|---|---|
| 084 | Vyxal | 250514T180329Z | The Empt |
| 188 | Python 3 | 250514T022336Z | Lucenapo |
| 195 | Knight | 220815T211519Z | Aiden Ch |
| 108 | Vyxal | 210608T064747Z | wasif |
| 1442 | Deadfish~ | 210224T085556Z | emanresu |
| 190 | Perl 5 | 201222T015020Z | Xcali |
| 121 | 05AB1E | 201221T222416Z | Makonede |
| 237 | Bash | 200819T231922Z | Noodle9 |
| 196 | Python 3 | 200819T210741Z | Noodle9 |
| 093 | 05AB1E | 200821T070426Z | Kevin Cr |
| 175 | Pyth | 200819T223424Z | Scott |
| 206 | x8616 machine code | 200819T213639Z | 640KB |
| 200 | PHP | 200820T132505Z | 640KB |
| 202 | Python 2 | 200820T085433Z | ElPedro |
| 141 | Keg | 200820T055041Z | lyxal |
| 211 | C gcc | 200819T223544Z | gastropn |
| 186 | Io | 200820T021939Z | user9649 |
| 195 | R | 200819T201816Z | Giuseppe |
| 133 | Japt | 200819T213035Z | Shaggy |
Vyxal, 84 bytes
1→a{←aø%`09489d5ee0abc5c04c6b3db76a86e212fb556517c07acac9c00f486af5a07fa2`≠|←a›→a}←a
Iterates over all numbers until one is found with that SHA256 hash.
Python 3, 188 bytes
print(*b"CODE GOLF & Coding Challenges: In today's challenge, you'll be asked to print the following very special AND tricky AND satisfying Prime Number...! Are you golfers ready?",sep="")
Uses bytes literal for compression.
Knight, 195 bytes
;=s" CODE GOLF & Coding Challenges: In today's challenge, you'll be asked to print the following very special AND tricky AND satisfying Prime Number...! Are you golfers ready?"W=sGsT LsO++''As'\'
Vyxal, 108 bytes
Needed to optimize the string little to compress it well¬⋎ »₅⇧& ⟩₆ →ṗ: In ¬¾'s ɾṖ, λ•'ll be •₇ to ⟑Ẇ λλ ∧ṫ ƛ² ¬∪ AND ¦Ṡy AND ¶⊍ing ʁ꘍ ƛṅ...! λ∆ λ• »₅ers €æ?+Cṅ
Deadfish~, 1442 bytes
{{i}ddddd}iiiicicciicdddciicddciiicddddddcdciiiiicddddddciiiiiiciicddcdcic{d}iiiciiicdciciiiiicdddddcdciiiicicddddddccccdccicdciiiiicddddccdcicdciiiccdciiiicicddddddcdciiiiciiiiicddcddddddcdc{i}ddc{d}iiicdc{i}ddc{d}iiicdcicccdcicdciiicddcdciccciiiicciiicdddddcdciiiiicddddcddccdciiicdcdcciiiiicdddddccccdcc{i}dcddcddddddcicdciiciiiiiic{d}iicciiiicddcdc{i}dddcc{d}iicdciiiiciiiiicddcddddddcdc{i}ddc{d}iiicdc{i}ddc{d}iiicdcicccdcicdciiicddcdciciiiccdcdcdcicdcccccciiiiiicddddciiiiiic{d}iicdc{i}ddc{d}iiicdc{i}ddcdddddcdc{i}dddcdc{d}iiicdciciicdc{i}dddcddcddddddcciiiicddddcdc{i}dddcddddddcdciccdcciiicdcdcciiiiicdddddccciicdcdccicdcciiicdddcdciiiiicddddccdcicciiiiicdddcdcdcciiiiicdddddcdciiiicdddcdciciicdcdcdciicdccccdc{i}ddc{d}iiicdc{i}ddc{d}iiiccccc{i}ddc{d}iicdciiiiicddddccdcicdciiiccdcdcc{i}dddc{d}iiicdciccciiicdddcicdciicdcdcciiiicddddccicdcdcic{i}ddcc{d}iicdciiiiiciiiicddcddddddcdc{i}ddcdddddcdciiiicdciicicddciicdddddcdcdcciiiiicdddddcciiicdddcdciiiiiciiiicc{d}iicdc{i}dddcddddddcicdciicdciiiicdciicicddciicdddddcdcdcciiiiciiiicddcddddddcciiiiicdddddcdciiiiicddddcciiiicddddcdciicdcicdccdciiiiicddddccdcicdciiiccdciiiiiic{d}iicicciiicdddcdciiiiicddddcdc{i}dc{d}iicdciciicdciiiiicic{d}iiicciiiiiicddddddcdc{i}dccdc{d}iiicdciccciiicciicddciicddciicdddcccdciiiicdcddddcciiicdddcdciciicdcdcicdcccccciiiiiicddddcdcdcdciiicddccccdc{i}ddc{d}iiicdciicdcdciccciiicdddcciiiicddcdcdcciiicdddcdcic{i}ddcddcddddddcdccicicdciiiiicdddc{d}{d}i{c}cc
Perl 5, 190 bytes
say"CODE GOLF & Coding Challenges: In today's challenge, you'll be asked to print the following very special AND tricky AND satisfying Prime Number...! Are you golfers ready?"=~s/./ord$&/ger
05AB1E, 121 bytes
'€ƒuð.ø’CODE GOLF & Cod±µ Cí¤ÁÛ¡¾: In ƒÜ's ›Ý, €î'½ž €ï ‹Ð €„ …¢ €€ „— ‚Ò ƒÑÿÐËyÿËØ±µ P؆e Nuîв¡...! A‚™ €î Šˆ²¡s Žä?’ÇJ
'€ƒuð.ø’...’ÇJ # trimmed program '€ƒ # push "and"... u # uppercase... .ø # surrounded by... ð # spaces # (ÿ in the long compressed string gets implicitly replaced with this) J # join... Ç # charcodes of... ’...’ # "CODE GOLF & Coding Challenges: In today's challenge, you'll be asked to print the following very special AND tricky AND satisfying Prime Number...! Are you golfers ready?" # implicit output
The hardest part of this wasn't writing the code, it was trying to get the Markdown to work.
Bash, 237 bytes
s="CODE GOLF & Coding Challenges: In today's challenge, you'll be asked to print the following very special AND tricky AND satisfying Prime Number...! Are you golfers ready?";o=o for((i=0;i<${#s};i++));do printf %d \'"${s:$i:${#o}}";done
Python 3, 202 196 bytes
Saved 6 bytes thanks to Manish Kundu!!!
print(*map(ord,"CODE GOLF & Coding Challenges: In today's challenge, you'll be asked to print the following very special AND tricky AND satisfying Prime Number...! Are you golfers ready?"),sep='')
05AB1E, 93 bytes
”›ˆ‚³...!€™”‘€ƒ‘D”Âïªï:€†”‘ƒËŠˆ‘“ÿ & ÿƒÜ's›Ý,€î'll€ï‹Ð€„…¢€€„—‚ÒƒÑ ÿÐËy ÿËØing ÿ€îŠˆersŽä?“ÇJ
Explanation:
”›ˆ‚³...!€™” # Push (titlecased) dictionary string "Prime Number...! Are" ‘€ƒ‘D # Push (uppercased) dictionary string "AND" and duplicate it ”Âïªï:€†” # Push (titlecased) dictionary string "Coding Challenges: In" ‘ƒËŠˆ‘ # Push (uppercased) dictionary string "CODE GOLF" “ÿ & ÿƒÜ's›Ý,€î'll€ï‹Ð€„…¢€€„—‚ÒƒÑ ÿÐËy ÿËØing ÿ€îŠˆersŽä?“ # Push (regular) dictionary string "ÿ & ÿ today's challenge, you'll be asked to print the following very special ÿ tricky ÿ satisfying ÿ you golfers ready?", # where theÿare automatically filled with the strings on the stack Ç # Convert each character to its codepoint integer J # And join all those together # (after which the result is output implicitly)
See this 05AB1E tip of mine (section How to use the dictionary?) to understand why
”›ˆ‚³...!€™”is"Prime Number...! Are";‘€ƒ‘is"AND";”Âïªï:€†”is"Coding Challenges: In";‘ƒËŠˆ‘is"CODE GOLF"; and“ÿ & ÿƒÜ's›Ý,€î'll€ï‹Ð€„…¢€€„—‚ÒƒÑ ÿÐËy ÿËØing ÿ€îŠˆersŽä?“is"ÿ & ÿ today's challenge, you'll be asked to print the following very special ÿ tricky ÿ satisfying ÿ you golfers ready?".
Pyth, 118 175 bytes
jkCM"CODE GOLF & Coding Challenges: In today's challenge, you'll be asked to print the following very special AND tricky AND satisfying Prime Number...! Are you golfers ready?
Due to a rushed answer, my original source didn't give the correct number. I was only checking the first and last numbers and assumed the rest was correct.
x86-16 machine code, IBM PC DOS, 206 bytes
Binary:
00000000: be24 01b1 aaac d40a 5086 e0d4 0a05 3030 .$......P.....00 00000010: 86e0 3c30 7402 cd29 86e0 cd29 5804 30cd ..<0t..)...)X.0. 00000020: 29e2 e2c3 434f 4445 2047 4f4c 4620 2620 )...CODE GOLF & 00000030: 436f 6469 6e67 2043 6861 6c6c 656e 6765 Coding Challenge 00000040: 733a 2049 6e20 746f 6461 7927 7320 6368 s: In today's ch 00000050: 616c 6c65 6e67 652c 2079 6f75 276c 6c20 allenge, you'll 00000060: 6265 2061 736b 6564 2074 6f20 7072 696e be asked to prin 00000070: 7420 7468 6520 666f 6c6c 6f77 696e 6720 t the following 00000080: 7665 7279 2073 7065 6369 616c 2041 4e44 very special AND 00000090: 2074 7269 636b 7920 414e 4420 7361 7469 tricky AND sati 000000a0: 7366 7969 6e67 2050 7269 6d65 204e 756d sfying Prime Num 000000b0: 6265 722e 2e2e 2120 4172 6520 796f 7520 ber...! Are you 000000c0: 676f 6c66 6572 7320 7265 6164 793f golfers ready?
Listing:
BE 0124 MOV SI, OFFSET TXT ; string offset
B1 AA MOV CL, 170 ; string length
CHAR_LOOP:
AC LODSB ; AL = next char
D4 0A AAM ; AL = AL % 10, AH = AL / 10
50 PUSH AX ; save units digits
86 E0 XCHG AH, AL ; swap digits
D4 0A AAM ; AL = AL % 10, AH = AL / 10
05 3030 ADD AX, '00' ; ASCII convert
86 E0 XCHG AH, AL ; swap digits
3C 30 CMP AL, '0' ; is highest digit a '0'?
74 02 JZ TWODIG ; if so, don't display leading zero
CD 29 INT 29H ; display hundreds digit
TWODIG:
86 E0 XCHG AH, AL ; swap digits
CD 29 INT 29H ; display tens digit
58 POP AX ; restore units digit
04 30 ADD AL, '0' ; ASCII convert
CD 29 INT 29H ; display units digit
E2 E2 LOOP CHAR_LOOP ; loop until end of string
C3 RET ; return to DOS
TXT:
DB 'CODE GOLF & Coding Challenges: In today',27H,'s challenge, '
DB 'you',27H,'ll be asked to print the following very special '
DB 'AND tricky AND satisfying Prime Number...! Are you golfers ready?'
PHP, 200 bytes
while($c=ord("CODE GOLF & Coding Challenges: In today's challenge, you'll be asked to print the following very special AND tricky AND satisfying Prime Number...! Are you golfers ready?"[$i++]))echo$c;
Python 2, 202 bytes
print''.join(`ord(x)`for x in"CODE GOLF & Coding Challenges: In today's challenge, you'll be asked to print the following very special AND tricky AND satisfying Prime Number...! Are you golfers ready?")
Spoiler tag misinterprets the backticks and anyway, it's probably not necessary any more.
Keg, 177 141 bytes
`CODE GOLF & Coding Challenges: In nL;'s r⊂;, you'll be 0⑵; to a⑱; the 1⟱; 0K; 4∀; AND ⬨⑺; AND Q&; Prime Number...! Are you :G;ers 1⑾;?`÷^(ⁿ.
Yeah, it the same technique as everyone else. Now with string compression.
C (gcc), 213 211 210 211 bytes
f(){for(char*s="CODE GOLF & Coding Challenges: In today's challenge, you'll be asked to print the following very special AND tricky AND satisfying Prime Number...! Are you golfers ready?";*s;)printf("%d",*s++);}
Io, 186 bytes
"CODE GOLF & Coding Challenges: In today's challenge, you'll be asked to print the following very special AND tricky AND satisfying Prime Number...! Are you golfers ready?"foreach(print)Try it online!
Explanation
Io's default syntax for defining strings actually defines a "sequence", that is basically a list of ord codes.
During foreach, Io treats every character of the sequence as it's respective ord code (don't believe it? try
"abc"at(0))
"..." // The big string, from other answers
foreach( ) // For every codepoint in this string:
print // output this codepoint without a newline
R, 195 bytes
(SPOILER IF YOU WANT TO FIGURE IT OUT YOURSELF)
cat(utf8ToInt("CODE GOLF & Coding Challenges: In today's challenge, you'll be asked to print the following very special AND tricky AND satisfying Prime Number...! Are you golfers ready?"),sep="")
Not the golfiest language to use for kolmogorov-complexity, but it does the trick.
Japt, 133 bytes
As will be the case with every solution to this, all credit here belongs to Giuseppe!
`CODE GOLF & CoÜA Câ%s: In Üþs å¡e, y'¥ ¼ k pÎC e èÄg vy special AND Éky AND Ñsfyg PÎX Num¼r...! A y goÓÈs Î%y?`mc
