18
\$\begingroup\$

Since this is a challenge, you might want to sort answers by oldest.


Your task is simple: Choose any printable ASCII character that's not chosen in the previous answers. And then, you need to print your chosen character in your program to standard output. (You can ONLY print your chosen character, without printing other garbage to STDOUT)

The catch

Let's say you picked x as your chosen character, and your answer is the answer numbered y. You have to insert y x's into the previous source code, at any position you like. For the first answer, the previous answer is the empty program.

An example

Answers have to start with the number 1. So for example, I chose the character #, and I posted a 1 byte answer in /// that prints the # mark.

#

And then, the second answer (numbered 2) has to insert 2 of their picked x character into the previous source code, such that the modified code will print their x character. So assume this is written in Keg:

x#x

And then, the third answer has to do the same, and so on, until 95 is reached.

Answer format

I'd love to see an explanation of your code as well, preferably with an online interpreter link!

# [{Language name}]({link-to-language}), {code-length} bytes

\$y= {The number of your answer}\$. Used so far: <code>{Characters used in answers so far}</code>

    {your code}

The winning criterion & other rules

  • The first user whose answer stays without a succeeding answer for a month wins the challenge. If that's not satisfied, the first person who reaches the number 95 wins the challenge.
  • You are not allowed to put any other character in your code other than printable ASCII characters.
  • You need to wait 2 answers before you post a new answer after your submission.
  • Please make sure your answer is valid. If yours is not valid, chaining answers aren't allowed to be posted.
  • You can answer in a language that is used in previous answers.
  • You could only insert y x's into the source code.
  • Your are not allowed to take input.
  • Your program can output to STDERR, as long as the output to STDOUT is as intended.
\$\endgroup\$
9
  • 6
    \$\begingroup\$ I suggest adding a requirement to add the text "\$y=\$<answer number> Used so far: <characters used so far in order>" below the standard header (I added this to the first answer to get it going). \$\endgroup\$ Jul 24, 2020 at 13:30
  • 1
    \$\begingroup\$ Can we output using our favourite language's natural output format? For R, this would be a variable containing the particular ASCII character. \$\endgroup\$ Jul 24, 2020 at 14:24
  • \$\begingroup\$ @DominicvanEssen You have to output through STDOUT, unless you mention an I/O default in which setting variables is acceptable. \$\endgroup\$
    – user92069
    Jul 24, 2020 at 14:26
  • \$\begingroup\$ I posted an answer but I deleted 'cause I'm not sure it fits. The source code of the answer can only contain the previous chosen characters? e.g. I can only post print('a') if the characters p,r,i,n,t,(,',) were already chosen? \$\endgroup\$
    – yyyyyyyan
    Jul 24, 2020 at 18:22
  • 1
    \$\begingroup\$ @AdHocGarfHunter You can output to STDERR, as long as the output to STDOUT is correct. \$\endgroup\$
    – user92069
    Jul 27, 2020 at 2:18

40 Answers 40

1
2
2
\$\begingroup\$

Trigger, 528 bytes

\$y=32\$, Used so far: 1'2q#,9/j;0"35s46%7*[email protected]`&Hb=

===b=b=b=`HH&&&a&&a&a&&.&&&&&&&&&&&&&&&&&&&&&aaaaaaaaaaaaaaaaaaaaaaaa..ffffffffff.ffffffffffffff.88888.88888.88888.8888.88@.@@*@@@@@@@@7.%7*77%*7*77%666666%@x*78.8.87*7%*7*.7@7%6*@66666666.66555555b55HHbHHHHHHHHHHHHHHHHHHHHHHHHHH555555444444%*@**4%44*4*444444xx@xx".==033333%33333333s;s\/s@/90*%35*s46#".9\s99%%9%90s9/"/j0s,.`\`"`\*0\"#s,`#,22s01;"*'s"*;0;j/@x.\.xxxx"s;x@xx..,0;%#x\"\;xxqsj*j"0j%%jj'j,#\"j%qs,q0q28/"\%s@//s;0;%;;0"s.77*7.========================7777@xxxxxx@@..```````````````````````bbbbbbbbbbbbbbbbbbbbbbbbbb

Try it online!

\$\endgroup\$
2
\$\begingroup\$

Explode, 741 bytes

\$y=38\$. Used thus far: 1'2q#,9/j;0"35s46%7*[email protected]`&Hb=cd<AB (trailing space)

AAB<<dddcccccccccccccccccccccccccccccdc==d=b=b=b=`HH&AAAAAAAAAAAAAAAAAAAAAAB&&a&&a&a&&.&&&&&&&&&&&&&&&&&&&&&aaaaaaaaaaaaaaaaaaaaaaaa..ffffffffff.ffffffffffffff.88888.88888.88888.8888.88@.@@*@@@@@@@@7.%7*77%*7*77%6AAAB66666%@x*78.8.87*7%*7*.7@7%6*@66666666.66555555b55HHbHHHHHHHHHHHHHHHHHHHHHHHHHH555555444444%*@**4%44*4*444444xx@xx".==033333%33333333s;s\/s@/90*%35*s46#".9\s99%%9%90s9/"/j0s,.`AB\`ABccdcAAAAAAAB"`\*0\"#s,`#,22s01;"*'s"*;0;j/@x.\.xxxx"s;x@xx..,0;%#x\"\;xxqsj*j"0j%%jj'j,#\"j%qs,q0q28/"\%s@//s;0;%;;0"s.77*7.========================7777@xxxxxx@@..```````````````````````bbbbbbbbbbbbbbbbbbbbbbbbbbdddddddddddddddddddddddddddd<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<BBBBBBBBBBBBBBBBBBBBBBBBBBBBBB                                      B

Try it online.

Explanation:

I just went looking for some random languages that might work, to have something different than Keg and Trigger in the chain. I had never heard about Explode prior, but apparently the tape starts with the amount of spaces equal to the number of lines of the program; which is a single line, thus a single space in this case.
This tape is printed implicitly when the program terminates. Since the program (apparently) doesn't modify the tape in any way, this single space the tape started with is output as our result.

I might try to analyze what each character actually does in the program above, or try to use the language Explode for another challenge, but this will do for now.

\$\endgroup\$
1
\$\begingroup\$

Keg, -hr, 120 bytes

\$y = 15\$, Used so far: 1'2q#,9/j\;0"35

55555555555555"03333333333333;\//9035#"9\999909/"/j0,\"\0\"#,#,2201;"'";0;j/\";,0;#\"\;qjj"0jjj'j,#\"jq,q0q2/"\//;0;;;0"

Try it online!

Yeah, you can pretty much tell that I'm gonna do this a lot.

\$\endgroup\$
0
1
\$\begingroup\$

Trigger, 435 bytes

\$y = 29\$, Used so far: 1'2q#,9/j;0"35s46%7*[email protected]`&

`&&&a&&a&a&&.&&&&&&&&&&&&&&&&&&&&&aaaaaaaaaaaaaaaaaaaaaaaa..ffffffffff.ffffffffffffff.88888.88888.88888.8888.88@.@@*@@@@@@@@7.%7*77%*7*77%666666%@x*78.8.87*7%*7*.7@7%6*@66666666.6655555555555555444444%*@**4%44*4*444444xx@xx".033333%33333333s;s\/s@/90*%35*s46#".9\s99%%9%90s9/"/j0s,.`\`"`\*0\"#s,`#,22s01;"*'s"*;0;j/@x.\.xxxx"s;x@xx..,0;%#x\"\;xxqsj*j"0j%%jj'j,#\"j%qs,q0q28/"\%s@//s;0;%;;0"s.77*7.7777@xxxxxx@@..```````````````````````

Try it online!

It seriously looks like Trigger and Keg are the only viable choices now. The second-twelfth bytes do the magic; it jumps to the second ".", so I could hide my ampersands.

Also, it looks like the "used so far" bit is broken now.

\$\endgroup\$
1
  • 2
    \$\begingroup\$ Welcome to Code Golf.SE, nice first answer! \$\endgroup\$
    – user92069
    Jul 27, 2020 at 12:16
1
\$\begingroup\$

Trigger, 595 bytes

\$y = 34\$, Used so far: 1'2q#,9/j;0"35s46%7*[email protected]`&Hb=c

dddcccccccccccccccccccccccccccccdc==d=b=b=b=`HH&&&a&&a&a&&.&&&&&&&&&&&&&&&&&&&&&aaaaaaaaaaaaaaaaaaaaaaaa..ffffffffff.ffffffffffffff.88888.88888.88888.8888.88@.@@*@@@@@@@@7.%7*77%*7*77%666666%@x*78.8.87*7%*7*.7@7%6*@66666666.66555555b55HHbHHHHHHHHHHHHHHHHHHHHHHHHHH555555444444%*@**4%44*4*444444xx@xx".==033333%33333333s;s\/s@/90*%35*s46#".9\s99%%9%90s9/"/j0s,.`\`ccdc"`\*0\"#s,`#,22s01;"*'s"*;0;j/@x.\.xxxx"s;x@xx..,0;%#x\"\;xxqsj*j"0j%%jj'j,#\"j%qs,q0q28/"\%s@//s;0;%;;0"s.77*7.========================7777@xxxxxx@@..```````````````````````bbbbbbbbbbbbbbbbbbbbbbbbbbdddddddddddddddddddddddddddd

Try it online!

\$\endgroup\$
1
\$\begingroup\$

Keg -rn, 703 bytes

\$y=37\$, Used so far: 1'2q#,9/j;0"35s46%7*[email protected]`&Hb=cd<AB

AAB<<dddcccccccccccccccccccccccccccccdc==d=b=b=b=`HH&AAAAAAAAAAAAAAAAAAAAAAB&&a&&a&a&&.&&&&&&&&&&&&&&&&&&&&&aaaaaaaaaaaaaaaaaaaaaaaa..ffffffffff.ffffffffffffff.88888.88888.88888.8888.88@.@@*@@@@@@@@7.%7*77%*7*77%6AAAB66666%@x*78.8.87*7%*7*.7@7%6*@66666666.66555555b55HHbHHHHHHHHHHHHHHHHHHHHHHHHHH555555444444%*@**4%44*4*444444xx@xx".==033333%33333333s;s\/s@/90*%35*s46#".9\s99%%9%90s9/"/j0s,.`AB\`ABccdcAAAAAAAB"`\*0\"#s,`#,22s01;"*'s"*;0;j/@x.\.xxxx"s;x@xx..,0;%#x\"\;xxqsj*j"0j%%jj'j,#\"j%qs,q0q28/"\%s@//s;0;%;;0"s.77*7.========================7777@xxxxxx@@..```````````````````````bbbbbbbbbbbbbbbbbbbbbbbbbbdddddddddddddddddddddddddddd<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB

Try it online!

\$\endgroup\$
0
\$\begingroup\$

Keg, -rn, 561 bytes

\$y=33\$, Used so far: 1'2q#,9/j;0"35s46%7*[email protected]`&Hb=c

cccccccccccccccccccccccccccccc===b=b=b=`HH&&&a&&a&a&&.&&&&&&&&&&&&&&&&&&&&&aaaaaaaaaaaaaaaaaaaaaaaa..ffffffffff.ffffffffffffff.88888.88888.88888.8888.88@.@@*@@@@@@@@7.%7*77%*7*77%666666%@x*78.8.87*7%*7*.7@7%6*@66666666.66555555b55HHbHHHHHHHHHHHHHHHHHHHHHHHHHH555555444444%*@**4%44*4*444444xx@xx".==033333%33333333s;s\/s@/90*%35*s46#".9\s99%%9%90s9/"/j0s,.`\`ccc"`\*0\"#s,`#,22s01;"*'s"*;0;j/@x.\.xxxx"s;x@xx..,0;%#x\"\;xxqsj*j"0j%%jj'j,#\"j%qs,q0q28/"\%s@//s;0;%;;0"s.77*7.========================7777@xxxxxx@@..```````````````````````bbbbbbbbbbbbbbbbbbbbbbbbbb

Try it online!

;P

\$\endgroup\$
0
\$\begingroup\$

Keg, -rn, 666 bytes

\$y=36\$ , Used so far: 1'2q#,9/j;0"35s46%7*[email protected]`&Hb=cd<A

AA<<dddcccccccccccccccccccccccccccccdc==d=b=b=b=`HH&AAAAAAAAAAAAAAAAAAAAAA&&a&&a&a&&.&&&&&&&&&&&&&&&&&&&&&aaaaaaaaaaaaaaaaaaaaaaaa..ffffffffff.ffffffffffffff.88888.88888.88888.8888.88@.@@*@@@@@@@@7.%7*77%*7*77%6AAA66666%@x*78.8.87*7%*7*.7@7%6*@66666666.66555555b55HHbHHHHHHHHHHHHHHHHHHHHHHHHHH555555444444%*@**4%44*4*444444xx@xx".==033333%33333333s;s\/s@/90*%35*s46#".9\s99%%9%90s9/"/j0s,.`A\`AccdcAAAAAAA"`\*0\"#s,`#,22s01;"*'s"*;0;j/@x.\.xxxx"s;x@xx..,0;%#x\"\;xxqsj*j"0j%%jj'j,#\"j%qs,q0q28/"\%s@//s;0;%;;0"s.77*7.========================7777@xxxxxx@@..```````````````````````bbbbbbbbbbbbbbbbbbbbbbbbbbdddddddddddddddddddddddddddd<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Try it online!

Yet another one. Just like the other one.

\$\endgroup\$
0
\$\begingroup\$

Trigger, 780 bytes

\$y=39\$. Used thus far: 1'2q#,9/j;0"35s46%7*[email protected]`&Hb=cd<AB _

__AAB<<dddccccccccc___ccccccccccccccccccccdc==d=b=b=b=`HH&_AAAAAAAAA_AAAAAAAA_AAAAAB&&a&_&a&a&&.&&&&&&&&&&&&&&&&&&&&&aaaaaaaaaa__aaaaaaaaa__aaaaa..ffffffffff.ffffffffffffff.88888.88888.88888.8888.88@.@@*@@@@@@@@7.%7*77%*7*77%6AA__AB66666%@x*78.8.87*7%*7*.7@7%6*@66666666.66555555b55HHbHHHHHHHHHHHHHHHHHHHHHHHHHH555555444444%*@**4%4_4*4*444444xx@xx".==033333%33333333s;s\/s@/9_________0*%35*s46#".9\s99%%9%____90s9/_____"/j0s,.`AB\`ABccdcAAAAAAAB"`\*0\"#s,`#,22s01;"*'s"*;0;j/@x.\.xxxx"s;x@xx..,0;%#x\"\;xxq__sj*j"0j%%jj'j,#\"j%qs,q0q28/"\%s@_//s;0;%;;0"s.77*7.========================7777@xxxxxx@@..```````````````````````bbbbbbbbbbbbbbbbbbbbbbbbbbdddddddddddddddddddddddddddd<<<<<<<<<<<<__<<<<<<<<<<<<<<<<<<<<<BBBBBBBBBBBBBBBBBBBBBBBBBBBBBB                                      B

Try it online!

\$\endgroup\$
0
\$\begingroup\$

Trigger, 820 bytes

\$y=40\$. Used so far: 1'2q#,9/j\;0"35s46%7*[email protected]`&Hb=cd<AB _z. (I have restored \, which disappeared from this string earlier in the thread.)

zzz_z_AAzB<<ddzdcccczccccc__z_cccccccczccccccccccccdc==d=b=b=b=`HH&_AAAAzAAAAA_AAAAzAAAA_AAAAAB&&a&_&a&a&&.&&&&z&&&&&z&&&&&z&&&&&&&aaaazaaaaaa__aaaazaaaaa__aaaaa..fffffzfffff.ffffzffffzffffff.88888.88888.88888.8888.88@.@@*@@@@@@@@7.%7*77%*7*77%z6AA__zAB66666%@x*78.8.87*7%*7*.7@7%6*@66666666.66555555b55HHbHHHHHHzHHHHHHHzHHHHHHHHHzHHHH555555444444%*@**4%4_4*4*444444xx@xx".==033333%3333z3333s;s\/s@/9____z_____0*%35*s46#".9\s99%%9%____90s9/_____"/j0s,.`AB\`ABccdcAAzAAAAAB"`\*0\"#s,`#,22s01;"*'s"*;0;j/@x.\.xxxx"s;x@xx..,0;%#x\"\;xxq__sj*j"0j%%jj'j,#\"j%qs,q0q28/"\%s@_//s;0;%;;0"s.77*7.========z================7777@xxxxxx@@..`````````z``````````````bbbbbbbbbbbbbbbbbbbbbbbzbbbddddzddddddddddddddddzdddddddd<<<<<<z<<<<<<__<<<<<<<<<z<<<<<<<<<<<<zBBBBBBBBBBBBzBBBBBBBBBBBBBBBBBB                                      zzBzz

Try it online!

The previous answer has stood unchallenged for three weeks so it's time to spoil the party. The first three characters really sum up how I feel about the inventiveness of the present submission. It's perfectly set up for a FizzBuzz finish, however.

\$\endgroup\$
1
2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.