Skip to main content
1 of 6
Adalynn
  • 6.2k
  • 1
  • 18
  • 36

9. Befunge-93, 218 bytes

void main(){//\ /*SmiVZZ;ooo"><>" #define S"" #ifdef __OBJC__ #define S"-evitcejbO" #endif printf("C"S)/*/import std.stdio;"D".write/**/;}/* >"Befunge-98";"Befunge-93",,,,,,,,,,@;k,@ ,wVkk_,xeWvl<h_VZUn//⎚laocrahC 

Prints 39-egnufeB in Befunge-93, and maintaining the 8 previous outputs.

Try it online! (All languages but Vim via the Switch Language tab)

Try it online (Vim)!

Next answer cannot exceed 283 bytes.

#Hexdump

00000000: 766f 6964 206d 6169 6e28 297b 2f2f 5c0a void main(){//\. 00000010: 2f2a 1b53 6d69 561b 5a5a 3b6f 6f6f 223e /*.SmiV.ZZ;ooo"> 00000020: 3c3e 220a 2364 6566 696e 6520 5322 220a <>".#define S"". 00000030: 2369 6664 6566 205f 5f4f 424a 435f 5f0a #ifdef __OBJC__. 00000040: 2364 6566 696e 6520 5322 2d65 7669 7463 #define S"-evitc 00000050: 656a 624f 220a 2365 6e64 6966 0a70 7269 ejbO".#endif.pri 00000060: 6e74 6628 2243 2253 292f 2a2f 696d 706f ntf("C"S)/*/impo 00000070: 7274 2073 7464 2e73 7464 696f 3b22 4422 rt std.stdio;"D" 00000080: 2e77 7269 7465 2f2a 2a2f 3b7d 2f2a 0a3e .write/**/;}/*.> 00000090: 2242 6566 756e 6765 2d39 3822 3b22 4265 "Befunge-98";"Be 000000a0: 6675 6e67 652d 3933 222c 2c2c 2c2c 2c2c funge-93",,,,,,, 000000b0: 2c2c 2c40 3b6b 2c40 0a20 2c77 566b 6b5f ,,,@;k,@. ,wVkk_ 000000c0: 2c78 6557 766c 3c68 5f56 5a55 6e2f 2fe2 ,xeWvl<h_VZUn//. 000000d0: 8e9a 6c61 6f63 7261 6843 ..laocrahC 

Works in MTFI and semi-works in PyFunge-93 (has to have an input passed to it for division by 0).

; isn't a thing in Befunge-93, so we use that to differentiate it from Befunge-98.

Adalynn
  • 6.2k
  • 1
  • 18
  • 36