#Answer 52. Befunge-98, distance 8 + 2
Answer 52. Befunge-98, distance 8 + 2
Thanks to @DestructibleWatermelon for golfing a byte!
--2'3k:'2k*.@2(#"#28@P2*Jp;math 2\^45#2^41 NB.`(expt 2 39); ^ exit @n.out (*2 32#e#a44******O@)//2 25)#e#2ej#printf("%d" $[2**43]bye'$/*#"A#327;N<."$"/class HelloWorld {static void Main() 0{;n***~# System<.Console<.<.#1024
print(2^51)--;#0}}//4|#6904r"$2 #puts 16384 8*di 2^18o8*'*[[[268*^?>
Added '3k
before the 2
, and '2k*.
between the 2
and @
.
--
does nothing,
'3k2
puts 52 2s onto the stack, and
'2k*.@
multiplies them together, prints the number, and exits
Also, I added a d"
after printf("%
to make other people's lives easier, as I had 2 extra characters. It doesn't affect the Befunge-98 program.