Your task is to write as many programs / functions / snippets as you can, where each one outputs / prints / returns an integer. The first program must output the integer 1, the second one 2 and so on.

You can not reuse any characters between the programs. So, if the first program is: x==x, then you may not use the characters x and = again in any of the other programs. Note: It's allowed to use the same character many times in one program.


The winner will be the submission that counts the highest. In case there's a tie, the winner will be the submission that used the fewest number of bytes in total.


  • You can only use a single language for all integers
  • Snippets are allowed!
  • To keep it fair, all characters must be encoded using a single byte in the language you choose.
  • The output must be in decimal. You may not output it with scientific notation or some other alternative format. Outputting floats is OK, as long as all digits that are shown behind the decimal point are 0. So, 4.000 is accepted. Inaccuracies due to FPA is accepted, as long as it's not shown in the output.
  • ans =, leading and trailing spaces and newlines etc. are allowed.
  • You may disregard STDERR, as long as the correct output is returned to STDOUT
  • You may choose to output the integer to STDERR, but only if STDOUT is empty.
  • Symbol independent languages (such as Lenguage) are disallowed
  • Letters are case sensitive a != A.
  • The programs must be independent
  • Whitespace can't be reused
  • You must use ASCII-digits in the output

Explanations are encouraged!

  • 4
    \$\begingroup\$ The language Headsecks only cares about the lower three bits of every character and would trivially achieve a score of 64. It's partially symbol-independent, but not completely. I think the last rule should cover partially symbol-independent languages as well, but I'm not sure how to phrase it. \$\endgroup\$ – Dennis Jun 4 '17 at 22:45
  • 1
    \$\begingroup\$ Regarding the snippet rule, do we still need to include usings/imports? And are static imports allowed (without making them part of the snippet that is)? \$\endgroup\$ – Kevin Cruijssen Jun 6 '17 at 17:45
  • 1
    \$\begingroup\$ @KevinCruijssen you can omit boilerplate stuff that's needed for every programs/functions. For instance, you don't need #include <iostream> and other boilerplate stuff in C++. You do need from numpy import *. Note: I'm not a programmer, so I don't know all the nuances. We can discuss in chat if something is unclear :) \$\endgroup\$ – Stewie Griffin Jun 6 '17 at 18:05
  • 1
    \$\begingroup\$ You have the right to vote however you like @tuskiomi, but in my opinion it's a good rule. Whitespace characters are just bytes, just as any other character. Why should they be treated differently? Also, the language Whitespace would win by a landslide, since it contains only space, tab and line shift. Thanks for saying why you downvoted though :-) \$\endgroup\$ – Stewie Griffin Aug 18 '17 at 17:31
  • 1
    \$\begingroup\$ @StewieGriffin I would at least allow spaces, but hey, I'm not you. \$\endgroup\$ – tuskiomi Aug 18 '17 at 18:30

63 Answers 63

1 2 3

Pain-Flak, Score 1


Try it online!


Whitespace, score 1, 5 bytes


or perhaps more readable (where S are spaces, T are tabs, and N are newlines):


Try it online.


Whitespace only has three available characters: spaces, tabs, and newlines (with unicode values 32, 9, and 10 respectively), every other character is ignored. The snippet above will:

  • S: Enable Stack Manipulation
  • S...N: Push the number to the stack
  • S: A positive number (T would have been negative)
  • T: Some S and T as binary, where S is 0 and T is 1. So the T is both binary and decimal 1 in this case.

The footer of the TIO-link is TNST, which will:

  • TN: Enable I/O
  • NT: Print the top of the stack as number to STDOUT

ArnoldC, score 1, 57 bytes

I have a question with this. Would an "ArnoldC snippet" exist? Would it consist of removing IT'S SHOWTIME (beginMain) and YOU HAVE BEEN TERMINATED (endMain)? Would we need to I'LL BE BACK (return)? Anyway, if it doesn't, I can count to ... 1.


Try it online!

  • 2
    \$\begingroup\$ A snippet removes the boilerplate stuff that's needed for every programs/functions. \$\endgroup\$ – user85052 Sep 14 '19 at 22:06
  • \$\begingroup\$ @A_ I should be studying the chars I used then :) Thanks for your comment on this answer (and on the mariolang one too). \$\endgroup\$ – V. Courtois Sep 25 '19 at 8:30
1 2 3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.