Skip to main content
Commonmark migration
Source Link

#Pancake Stack, 532 bytes

Pancake Stack, 532 bytes

Put this tasty pancake on top! [] Put this delicious pancake on top! [#] Put this pancake on top! How about a hotcake? If the pancake is tasty, go over to "#". Eat all of the pancakes! Put this supercalifragilisticexpialidociouseventhoughtheso pancake on top! Flip the pancakes on top! Take from the top pancakes! Flip the pancakes on top! Take from the top pancakes! Put this supercalifragilisticexpialidociouseventhoughthes pancake on top! Put the top pancakes together! Show me a pancake! If the pancake is tasty, go over to "". 

It assumes the input is terminated by a null character. The strategy is as follows:

  • Take a character of input
  • Subtract the ascii value of 1 from it.
  • Subtract that from 0 (yielding a 1 if we had 0, or a 0 if we had 1)
  • Add the ascii value of 0 to it
  • Print the char.
  • Repeat

#Pancake Stack, 532 bytes

Put this tasty pancake on top! [] Put this delicious pancake on top! [#] Put this pancake on top! How about a hotcake? If the pancake is tasty, go over to "#". Eat all of the pancakes! Put this supercalifragilisticexpialidociouseventhoughtheso pancake on top! Flip the pancakes on top! Take from the top pancakes! Flip the pancakes on top! Take from the top pancakes! Put this supercalifragilisticexpialidociouseventhoughthes pancake on top! Put the top pancakes together! Show me a pancake! If the pancake is tasty, go over to "". 

It assumes the input is terminated by a null character. The strategy is as follows:

  • Take a character of input
  • Subtract the ascii value of 1 from it.
  • Subtract that from 0 (yielding a 1 if we had 0, or a 0 if we had 1)
  • Add the ascii value of 0 to it
  • Print the char.
  • Repeat

Pancake Stack, 532 bytes

Put this tasty pancake on top! [] Put this delicious pancake on top! [#] Put this pancake on top! How about a hotcake? If the pancake is tasty, go over to "#". Eat all of the pancakes! Put this supercalifragilisticexpialidociouseventhoughtheso pancake on top! Flip the pancakes on top! Take from the top pancakes! Flip the pancakes on top! Take from the top pancakes! Put this supercalifragilisticexpialidociouseventhoughthes pancake on top! Put the top pancakes together! Show me a pancake! If the pancake is tasty, go over to "". 

It assumes the input is terminated by a null character. The strategy is as follows:

  • Take a character of input
  • Subtract the ascii value of 1 from it.
  • Subtract that from 0 (yielding a 1 if we had 0, or a 0 if we had 1)
  • Add the ascii value of 0 to it
  • Print the char.
  • Repeat
Source Link
Justin
  • 21.4k
  • 9
  • 68
  • 117

#Pancake Stack, 532 bytes

Put this tasty pancake on top! [] Put this delicious pancake on top! [#] Put this pancake on top! How about a hotcake? If the pancake is tasty, go over to "#". Eat all of the pancakes! Put this supercalifragilisticexpialidociouseventhoughtheso pancake on top! Flip the pancakes on top! Take from the top pancakes! Flip the pancakes on top! Take from the top pancakes! Put this supercalifragilisticexpialidociouseventhoughthes pancake on top! Put the top pancakes together! Show me a pancake! If the pancake is tasty, go over to "". 

It assumes the input is terminated by a null character. The strategy is as follows:

  • Take a character of input
  • Subtract the ascii value of 1 from it.
  • Subtract that from 0 (yielding a 1 if we had 0, or a 0 if we had 1)
  • Add the ascii value of 0 to it
  • Print the char.
  • Repeat