Skip to main content
Commonmark migration
Source Link

#Lost, 57 23 22 bytes

Lost, 57 23 22 bytes

#Lost, 57 23 22 bytes

Lost, 57 23 22 bytes

Minor typos
Source Link
Kevin Cruijssen
  • 136.3k
  • 14
  • 155
  • 394

Byte-count more than halved (-2535 bytes) thanks to @JoKing.

The "^ <"*+<" will push the character-codepoints for the three characters in the string, being 94 32 60 respectively. The * multiplies the top two, and + adds the top two of the stack, so it becomes 94+(32*60), which results in 2014.

  • Turn the safety 'off' with %;
  • Clean the stack with ?;
  • Push the character-codepoints for " <^", which are 32 60 94 respectively;
  • Pop the 94 and store it in the scope with (;
  • Multiply the 32 60 with *, resulting in 1920;
  • Push the 94 from the scope back onto the stack with );
  • Add the 1920 94 together with +, resulting in 2014;
  • And then terminates the program with @, implicitly outputting the top of the stack.

Byte-count more than halved (-25 bytes) thanks to @JoKing.

The "^ <"*+ will push the character-codepoints for the three characters in the string, being 94 32 60 respectively. The * multiplies the top two, and + adds the top two of the stack, so it becomes 94+(32*60), which results in 2014.

  • Turn the safety 'off' with %;
  • Clean the stack with ?;
  • Push the character-codepoints for " <^", which are 32 60 94 respectively;
  • Pop the 94 and store it in the scope with (;
  • Multiply the 32 60 with *, resulting in 1920;
  • Push the 94 from the scope back onto the stack with );
  • Add the 1920 94 together with +, resulting in 2014;
  • And then terminates the program with @.

Byte-count more than halved (-35 bytes) thanks to @JoKing.

The "^ <" will push the character-codepoints for the three characters in the string, being 94 32 60 respectively. The * multiplies the top two, and + adds the top two of the stack, so it becomes 94+(32*60), which results in 2014.

  • Turn the safety 'off' with %;
  • Clean the stack with ?;
  • Push the character-codepoints for " <^", which are 32 60 94 respectively;
  • Pop the 94 and store it in the scope with (;
  • Multiply the 32 60 with *, resulting in 1920;
  • Push the 94 from the scope back onto the stack with );
  • Add the 1920 94 together with +, resulting in 2014;
  • And then terminates the program with @, implicitly outputting the top of the stack.
added 176 characters in body
Source Link
Kevin Cruijssen
  • 136.3k
  • 14
  • 155
  • 394
<%%?^"^  Direction changed upwards " <^" < Direction changed towards the left (*/ Direction changed downwards / Direction changed towards the left ) +@ 
  • Turn the safety of'off' with %;
  • Clean the stack with ?;
  • Push the character-codepoints for " <^", which are 32 60 94 respectively;
  • Pop the 94 and store it in the scope;scope with (;
  • Multiply the 32*6032 60 with *, resulting in 1920;
  • Push the 94 from the scope back onto the stack;stack with );
  • Add the two numbers1920 94 together: with 1920+94+, resulting in 2014;
  • And then terminates the program with @.
<%?^" <^" <(*//) +@ 
  • Turn the safety of with %;
  • Clean the stack with ?;
  • Push the character-codepoints for " <^", which are 32 60 94 respectively;
  • Pop the 94 and store it in the scope;
  • Multiply the 32*60, resulting in 1920;
  • Push the 94 from the scope back onto the stack;
  • Add the two numbers together: 1920+94 resulting in 2014;
  • And then terminates the program with @
%?^  Direction changed upwards " <^" < Direction changed towards the left (*/ Direction changed downwards / Direction changed towards the left ) +@ 
  • Turn the safety 'off' with %;
  • Clean the stack with ?;
  • Push the character-codepoints for " <^", which are 32 60 94 respectively;
  • Pop the 94 and store it in the scope with (;
  • Multiply the 32 60 with *, resulting in 1920;
  • Push the 94 from the scope back onto the stack with );
  • Add the 1920 94 together with +, resulting in 2014;
  • And then terminates the program with @.
added 1443 characters in body
Source Link
Kevin Cruijssen
  • 136.3k
  • 14
  • 155
  • 394
Loading
deleted 461 characters in body
Source Link
Kevin Cruijssen
  • 136.3k
  • 14
  • 155
  • 394
Loading
Source Link
Kevin Cruijssen
  • 136.3k
  • 14
  • 155
  • 394
Loading