Printing ascending ASCII, Cops

26

1

This is the cops' thread. The robbers' thread goes here.

Write a program or function consisting only of printable ASCII characters (that excludes tab and newline) that outputs at least 5 printable ASCII characters in ascending order (from space to tilde / 32 to 126). Characters can be outputted several times, as long as they are adjacent to each other. A single trailing newline is accepted. You must provide the full output, and for every 6 characters in your code you must provide one character in your code, at the position it appears. If your code has 5 or less characters, then you have to reveal only the length. You shall not reveal more than 1 character per 6 in your code.

So if your code alphaprinter outputs the alphabet from a-z, then you need to reveal 2 characters of your code (use underscore for the others), for instance:

al__________  // or
__p__p______  // or
__________er

Rules / specifications:

  • You cannot append trailing white spaces that doesn't have a function.
  • You can not use comments (but the robbers can use comments when cracking the code)
  • Built-in cryptographic primitives (includes any rng, encryption, decryption, and hash) aren't allowed.
  • In languages where the default output are like in MATLAB: ans =, then that's accepted, as long as it's clearly stated and shown that ans = is outputted. It should also be clearly stated whether this is part of the "ascending output" or not.
  • The output must be deterministic
  • Using a non-free language is not accepted
  • The output doesn't have to be consecutive characters. Both abcde and abcdg are valid outputs.
  • The characters do not need to be distinct as long as the output contains at least 5 characters. aaaaa and aaacc are valid.
  • Answers that assumes a REPL environment are not considered to be valid programs or functions and are therefore not allowed.
  • STDERR is not considered valid output, but data may written to STDERR.

If the revealed characters are underscores, then you must identify it as shown below. In this case, the second and sixth character are revealed underscores, while the others are unknown.

_____________
 |   |

Note: The robbers only need to find a code that produces the same output. The language, the length of the robbers solution, and the position of the revealed characters must also match.

Your score is the number of characters in your code. The winner will be the submission with the lowest score that hasn't been cracked in 7 days. Only submissions that are posted in 2015 (UTC) are eligible for the win. Submissions that are posted later than this are welcome, but can not win.

In order to claim the win you need to reveal the full code (after 7 days).

Your post should be formatted like this (nn is the number of characters):


Language, nn characters

Output:

abcdefghijklmnopqrstuvwxyz

Code (12 characters):

al__________

If the code is cracked, insert [Cracked](link to cracker) in the header. If the submission is safe, insert "Safe" in the header and reveal the full code in your answer. Only answers that have revealed the full code will be eligible for the win.

Stewie Griffin

Posted 2015-12-26T11:52:40.000

Reputation: 43 471

1Does this mean that if my code is print ( "abcde" ), I can reveal three whitespaces? – Adnan – 2015-12-26T12:07:53.877

@Adnan, technically yes, you can. – Stewie Griffin – 2015-12-26T12:15:30.407

When somebody makes a seed answer, we might not even know the length of the code. – wizzwizz4 – 2015-12-27T09:03:39.557

@wizzwizz4 Seed isn't allowed – Adnan – 2015-12-27T10:03:20.373

@Adnan I suppose it doesn't require any brainpower, only brute-force power. – wizzwizz4 – 2015-12-27T10:15:41.527

@wizzwizz4 yes, and RNGs are not allowed – Adnan – 2015-12-27T10:16:41.447

What's the tie breaker for the cops? – Martin Ender – 2015-12-28T16:12:00.633

@Martin I think it will be number of votes followed by submission date/time if the votes are equal. – Stewie Griffin – 2015-12-28T17:21:22.703

I just had the same idea as @Adnan and that seems really unfriendly to the robbers :/ – Sparr – 2015-12-30T18:06:18.620

Can I return the text rather than printing it? – Rɪᴋᴇʀ – 2015-12-30T19:06:42.560

@RikerW it's not enough to return the text. See cat's comment on your answer. – Stewie Griffin – 2015-12-30T20:43:00.853

I saw it, I just needed verification. But okay. – Rɪᴋᴇʀ – 2015-12-30T22:28:19.107

Can I stipulate there are no comments in my code? – Rɪᴋᴇʀ – 2015-12-30T23:28:08.923

Answers

6

Hexagony, 8 characters, safe

_______.

prints

123456

You can try Hexagony online

Solution

`&)!."@.

The ` is just misdirection to make the code look like it requires side-length 3. Unless the interpreter is executed with -d the backtick is simply stripped from the source code before determining the layout. Afterwards, the code fits into side-length 2:

 & )
! . "
 @ .

This moves the memory pointer (MP) around one hexagon of the memory grid, while copying the value to the next edge, incrementing it and printing it.

This is what the memory grid looks like, with the MP starting the marked position:

enter image description here

Initially all edges are zero. The first & is a no-op, but ) increments the edge and ! prints the 1. Then " moves back to the left (the edge labelled 2). There, & copies a value. Since the edge is currently zero, the left neighbour (in the direction of the MP) will be copied which is the 1 we just printed. ) increments it, ! prints the 2. This continues as long as we're visiting new edges and we print all digits up to 6. When we hit the edge we started on, & will copy the right neighbour instead (because the edge value is positive), so the edge becomes 0 again, and control flow jumps to the last row, where @ terminates the program.

Try it online.

Martin Ender

Posted 2015-12-26T11:52:40.000

Reputation: 184 808

I got 123456, but it only doesn't stop running and needs to be killed. Is that allowed? – Adnan – 2015-12-28T22:16:30.147

@Adnan I don't think it is. My program terminates. – Martin Ender – 2015-12-28T22:56:57.653

13

Perl, 46 characters (safe)

Output:

((()))*++,---../00011123445556667779::;;<<==??@@AAACEFGHHHIKKMMNOOOPPQQQRRSSSVWXXYY[[[\]]]^^^```aaeeffggghjjjnpppqqrttuwxxyzz{{{

Code:

print _______________________________________;

I somehow managed to delete the original in the space of a week, but I think this is right:

print chr()x(($i=($i*41+7)%97)&3)for(40..123);

grc

Posted 2015-12-26T11:52:40.000

Reputation: 18 565

9Well done. You turned it into a mystery string printer. ಠ_ಠ +1 – Addison Crump – 2015-12-26T14:13:51.290

2watch it include some homebrew random number generator :P – quintopia – 2015-12-26T19:25:18.030

I strongly suspect the output is sorted characters from a short list of error messages from eval'ing something. – Sparr – 2015-12-30T18:07:10.643

11

Brainfuck, 48 characters, cracked by Mitch Schwartz

I made this one for the robbers. It is definitely not going to be the winning submission :)

____[_____[_______]__]___[___________]___[_____]

This outputs:

ABCDEFGHIJKLMNOPQRSTUVWXYZ

Solution:

++++[>++++[>++++<-]<-]+++[>++++++++<-]>++[>+.<-]

I tested it here.

Hint: Don't try to find programs generated by online generators haha. This was handwritten and can only be solved by logical thinking :)

Adnan

Posted 2015-12-26T11:52:40.000

Reputation: 41 965

Cracked. – Mitch Schwartz – 2015-12-27T01:16:38.787

7

Noisy 3SP, 89 characters (safe)

0 _____________________________ _ _ _ _ _ _ _ _ _ __2_2__________________________________

Original program:

0 0 0 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 0 3 2 2 2 2 0 3 0 1

This program prints

 !"#$$

(note the leading space), and nothing else!

Explanation (*n refers to the nth cell in memory):

0 0 0                                Increment *0 to 3 (via the 0s in *0, *1, and *2)
2 (32 times)                         Increment *3 to 32 (via the 0 in *2 and the 3 in *0)
                                      (Note that *3 mod 256 is the character that prints)
0                                    Increment *32 (via the 3 in *0 and the 32 in *3)
3                                    Increment *1 (via the 32 in *3 and the 1 in *32)
                                      (Note that printing is on when *1 mod 2 is 1,
                                       which means " " prints right here)
2 (4 times)                          Increment *3 to 36 (printing '!"#$')
0                                    Increment *36 (via *3) (printing "$" again)
3                                    Increment *1 to 2 (via *36) (printing turns off)
0                                    Increment *36 to 2 (via *3)
1                                    Increment *0 to 4 (via *2)

The last two commands turn out to be sufficient to prevent 1 from ever being incremented again on subsequent passes through the program, which means nothing is ever again printed, though it will go on setting all memory addresses from *36 onward to the value 36 forever.

quintopia

Posted 2015-12-26T11:52:40.000

Reputation: 3 899

2an esolang in which structured programming is impossible and every program has to be written from scratch. 0_0 plus one from me. – Conor O'Brien – 2015-12-27T17:15:30.280

Don't be intimidated. It does go on to say This is probably not that language. If you sit down and try to write a program that gives that output, you'll probably get something very similar. – quintopia – 2015-12-27T22:00:40.987

Thanks, but no thanks ^_^ the specs made me lose my mind. It's like brainf*** all over again, except worse, – Conor O'Brien – 2015-12-28T00:56:23.670

1Looking forward to seeing your program revealed. I can't think of a way to modify my answer so that I get 2's in those places instead of 5's. You've bested me! Cool language :) – Emigna – 2015-12-30T17:09:51.480

Aww...always sad to see someone give up :/ – quintopia – 2015-12-30T17:45:14.937

Aaah, nice use of *32 for starting the print. I got too stuck on using the low end registers and setting everything up early. I think it was the fact that our programs were the same length that threw me off. Your program would have been 85 chars if you had terminated it. Congrats on making it safe! – Emigna – 2016-01-03T11:43:37.283

7

CJam, 13 characters

_____________
  ||

prints

7LLMYahnsuv

You can try CJam online.

Solution

{`__Jf^er$}_~

I thought basing a cop on a generalised quine was pretty clever and novel. The moment I posted this, I realised that __ and er are completely useless, which is why I posted the 8-byte CJam cop for a more competitive score. Pietu cracked that one rather quickly, so I was afraid he'd figure out this one as well. I suppose the unnecessarily convoluted character transliteration saved it.

Anyway, the code takes its own characters (except the _~), XORs each one with 19 for obfuscation and then sorts them.

This cop led me to the "discovery" of xorting, although I'm not actually using it here (and it would probably be near impossible to make use of it with a short generalised quine).

Martin Ender

Posted 2015-12-26T11:52:40.000

Reputation: 184 808

6

JavaScript (ES6), 60 characters, Cracked by user81655

Not promising to win, but hopefully fun to crack:

e_e_______a__a____e___e________e__o___________o______o______

This is a function that returns:

    :ERacddeeeeeeffiinnnoorrrrst
^^^^ -> 4 whitespaces

Edit

user81655 cracked it character by character:

e=e=>{try{a}catch(e){return[...e.toString()].sort().join``}}

insertusernamehere

Posted 2015-12-26T11:52:40.000

Reputation: 4 551

5

Matlab Octave, 27 characters, safe

Challenge

Regarding the new language restrictions: It also works in Octave.

____________3_3___4_3______

Output (in Octave): (ans = is not part of the output, the first character of the output is ")

ans = """""""""""""""""""""""""""""""""""""""""""########$$$$$$%%%%&&&&'''(()))**++,,-../001223456789:;<=>?@BCDFGHJKMNPRTUWY[]_acehjloq

Output (in Matlab): (ans = \n\n is not part of the output, the output is just the last line)

ans =

"""""""""""""""""""""""""""""""""""""""""""########$$$$$$%%%%&&&&'''(()))**++,,-../001223456789:;<=>?@BCDFGHJKMNPRTUWY[]_acehjloq

Solution

[fix((0:.07/3:3).^4+34),'']

We are basically looking at this function, converted to ASCII values. enter image description here

flawr

Posted 2015-12-26T11:52:40.000

Reputation: 40 560

1Could this be the floored y-values of a quintic? – LegionMammal978 – 2015-12-26T18:42:05.990

http://meta.codegolf.stackexchange.com/a/7212/8478 – Martin Ender – 2015-12-26T20:48:02.373

@LegionMammal978 I do not understand what you mean, but because you are asking I think it might very well be=) – flawr – 2015-12-26T21:16:35.830

@MartinBüttner I was not aware of this recent restriction, should perhaps be pointed added to the question. – flawr – 2015-12-26T21:18:11.037

1+1 for It also works in Octave. – Conor O'Brien – 2015-12-26T21:42:32.927

4

Fortran, 45 characters, safe

Complete Output:

 !"$)0<Ka|

Cat attempted to cracked it here

Code (45 characters):

pr_gr_m____________________/___3____________

Program code:

program t;print*,(char(i**3/8+33),i=1,9);end

Alexander Vogt

Posted 2015-12-26T11:52:40.000

Reputation: 211

Cracked. – cat – 2015-12-27T00:44:41.620

@Cat No, not cracked. Incorrect output: there is no trailing /! – Alexander Vogt – 2015-12-27T07:29:59.137

Evidently, I am blind, sorry. – cat – 2015-12-27T13:49:16.033

This is quite a challenge. (Well, I don't know Fortran, but it's a fairly easy language to get the hang of) – cat – 2015-12-27T16:18:46.507

@cat I'm glad you like it ;-) – Alexander Vogt – 2015-12-27T16:36:30.337

A few of the SO answers I've found while trying to crack this were answered by you :) – cat – 2015-12-27T18:35:18.950

I give up; I've tried everything from variables to concatenation to a do/end loop. Nice submission! – cat – 2015-12-27T19:30:09.627

It's "program" something – ev3commander – 2015-12-27T22:18:08.367

@cat I posted the program code... – Alexander Vogt – 2016-01-03T15:43:35.313

`$ gfortran test.f test.f:1:1:

program a;print,(char(i*3/8+33),i=1,9);end 1 Error: Non-numeric character in statement label at (1) test.f:1:1:

program a;print,(char(i*3/8+33),i=1,9);end 1 Error: Unclassifiable statement at (1) ` – cat – 2016-01-03T15:53:46.137

It's Fortran 90... You need to call the file test.f90. – Alexander Vogt – 2016-01-03T15:54:40.267

I think you should have specified a certain compiler in your post because obviously, the one you used isn't gfortran, the most common one. – cat – 2016-01-03T15:54:50.113

I used gfortran! And I specified the Standard (Fortran 95) - you complained about that one ;-) – Alexander Vogt – 2016-01-03T15:55:17.390

Why does a two character difference in the filename make it uncompilable? You say in the post Fortran 95+ yet this only compiles with a certain filename? – cat – 2016-01-03T15:55:50.087

Because gfortran will interpret *.f files as fixed-format (~FORTRAN 77) code. This is a usual convention, similar to .c/.cpp. – Alexander Vogt – 2016-01-03T15:56:51.393

I would like to point out that gfortran --help doesn't mention anything of this sort. – cat – 2016-01-03T15:58:22.800

man gfortran does. See the section below -ffree-form and -ffixed-form. – Alexander Vogt – 2016-01-03T16:01:17.797

4

Jolf, 27 characters, Cracked by Adnan

________W___________--_____
                         |

prints

abcdefghijklmnopqrst

Interpreter.

Original code:

on*2toHEWn)oH+H `pl$--$n}_H
on                          set n
  *2t                        to twenty
     oHE                    set H to the empty string
        Wn)                 while(n){
           oH+H             append to H
                `pl$--$n     get the nth character of the alphabet, decrement n before
                        }   }
                         _H print H reversed

Congrats to Adnan! You scare me.


Here, you can test your submission, to see how many characters must be removed.

setInterval(function(){r=document.querySelector("textarea").value;document.getElementById("output").innerHTML=r.length/6-r.split("").filter(function(x){return x=="_"}).length|0},20)
*{font-family:Consolas,monospace}textarea{width:100%;resize:none;height:auto;min-height:1.2em;}b{color:red;}
<textarea>Example Program</textarea><div>You must reveal <b id="output">n</b> characters.</div>

Conor O'Brien

Posted 2015-12-26T11:52:40.000

Reputation: 36 228

5http://cdn.meme.am/instances2/500x/3556122.jpg – flawr – 2015-12-27T09:34:52.277

2Cracked – Adnan – 2015-12-27T22:49:52.277

4

PHP, 46 characters, safe

Source:

for(_______________________=________________);

Outputs a 84 characters long string:

!!"#$%&'()*+,-./0123456789::;<=>?@AABCDEEFGHIIJKLLMNNOPPQRRSTTUUVWWXXYYZZ[[\\]]^^__`

Hint

What'd you say? My cousine is involved?

Revealed code

This method is relatively simply as it prints up to 64 characters starting at chr(32). The obscuring part is, that the iterator i is not incremented linearly. It's incremented by it's own cosine value which will result in repeated and missing characters.

for(;$i<64;)echo chr(32+$i+=cos(deg2rad($i)));
for(_______________________=________________);

insertusernamehere

Posted 2015-12-26T11:52:40.000

Reputation: 4 551

4

R, 60 bytes, cracked by plannapus

Output:

0123456789ABCDEFGHTUVWXYZdefghijklmnopqrstuvw

Code:

___(_(_:_____________]_____________6]_______s_4_____,___=___

I think this will not be so hard. We will see.

Fax Machine

Posted 2015-12-26T11:52:40.000

Reputation: 221

1Cracked – plannapus – 2015-12-28T11:09:15.990

@plannapus Good job! :) – Fax Machine – 2015-12-31T05:03:35.930

3

05AB1E, 13 characters, cracked by quintopia

I'm an idiot. I forgot to implement power function (-_-。). Here is the obfuscated code:

__D____<_____

My original code was:

99DF2}r<F*}bR

Explanation:

99DF2}r<F*}bR

99            # Pushes 99
  D           # Duplicates the top item
   F }        # Creates a for loop: For N in range(0, 99)
    2         # Pushes 2 (this will be done 99 times)
      r       # Reverses the stack
       <      # Decrement on the last item
        F }   # Creates a for loop: For N in range(0, 98)
         *    # Multiplies the last two item of the stack, which now looks like
              # [2, 2, 2, 2, 2, 2, 2, 2, ...]. Basically we're calculating 2^99
           b  # Converts the last item to binary
            R # Reverses the last item of the stack

This will output:

0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001

Yes, that is 99 zeroes followed by a 1.


Note, I have a power function implemented right now. So this could be done in six bytes:

Y99mbR

Adnan

Posted 2015-12-26T11:52:40.000

Reputation: 41 965

Is it pronounced like "Osabie"? – cat – 2015-12-26T15:32:43.947

3@cat Some say "Osabie", others say "Usable", they're all correct haha :) – Adnan – 2015-12-26T15:34:16.417

3@Adnan Sorry, you forgot me. I say it like "three hundred seventy-one thousand, four hundred eighty-six" ;) – ev3commander – 2015-12-26T20:37:26.437

String times number doesn't work as string repetition. :( – Conor O'Brien – 2015-12-26T22:01:43.267

@CᴏɴᴏʀO'Bʀɪᴇɴ Hehehe :) (that's for cases when the string itself is also a number, e.g. "4"3* = 12) – Adnan – 2015-12-26T22:06:58.250

Cracked – quintopia – 2015-12-29T04:56:13.360

3

Pyth, 17 characters, cracked by Pietu1998

Output:

""''''''''''''''''''''0000000000111111111122222222223333333333XXXXXXXXXX[[[[[[]]]]]]

Code:

___________#____1

My solution:

Sjkm^dT%"'%#X"291

Pietu1998's solution:

S`u]G6*T`t"#X0231

Luke

Posted 2015-12-26T11:52:40.000

Reputation: 5 091

Cracked. – PurkkaKoodari – 2015-12-29T19:40:18.577

I really like your code. I was thinking about hexadecimal for some time when cracking this, but I didn't know enough about Python's string formatting to get the same code. (Particularly, the # alternate form was new to me.) – PurkkaKoodari – 2015-12-30T11:09:05.117

3

MATL, 8 characters, safe

Stable version of the compiler working in Octave hopefully coming soon. Meanwhile, this GitHub commit works, and in particular runs the original code that produces the indicated output

This submission counts as posted on December 28, 2015, 15:30 UTC

Output:

$**0016688??@HHQ

Code (8 characters):

_:______

Solution

6:9tX*Sc

What it does:

6:9          % numeric vector [6 7 8 9]
t            % duplicate
X*           % Kronecker tensor product
S            % sort in ascending order 
c            % convert to char. Implicit display

Luis Mendo

Posted 2015-12-26T11:52:40.000

Reputation: 87 464

4

I'm not sure this is legitimate, since MATL seems to require Matlab to be interpreted. (http://meta.codegolf.stackexchange.com/a/7212/8478)

– Martin Ender – 2015-12-26T20:48:23.720

As @MartinBüttner pointed out, this language is ineligible for Cops and Robbers due to the paywall. – cat – 2015-12-26T22:54:55.740

2@cat I suppose the question is whether the interpreter works in Octave. – Martin Ender – 2015-12-26T23:20:56.157

@MartinBüttner, I've looked through most of the source code in the compiler and I can't find anything that shouldn't run in Octave, but I may have missed something. I don't have Octave on my laptop. Luis must confirm, but I'm quite sure the interpreter should run in Octave. – Stewie Griffin – 2015-12-27T00:50:22.453

I didn't know about that restriction in Cops and Robbers (but it totally makes sense). I haven't tested the compiler in Octave. It may work, but it probably needs some tweaking first. I'll add a disclaimer in my answer saying it's not eligible for winning @MartinBüttner – Luis Mendo – 2015-12-27T04:39:09.287

While I prepare a stable version of the compiler for Octave, this GitHub commit works, where "works" means it compiles and runs all examples I've tried, and in particular runs the original code that produces the output indicated here. Does this qualify now, or is it too late? @MartinBüttner

– Luis Mendo – 2015-12-28T01:59:53.470

1@LuisMendo well, normally interpreter changes after the challenge are disallowed, but since this doesn't actually affect how the language works, making an exception might be fine. Ultimately, it's Stewie's call. But I think at the very least the deadline for cracking this should be extended. – Martin Ender – 2015-12-28T08:17:07.533

1Yes, it should count as newly posted. What do you think, @StewieGriffin? – Luis Mendo – 2015-12-28T12:20:55.390

1@Luis i agree. It can be counted as newly posted. :-) – Stewie Griffin – 2015-12-28T14:28:45.993

@StewieGriffin Great! I've updated the answer to include that – Luis Mendo – 2015-12-28T15:30:40.053

Well I guess we're tied for the win now. It's Stewie's call which of your two timestamps counts for the tie breaker, I suppose. ;) – Martin Ender – 2016-01-06T00:32:27.573

@MartinBüttner Nah, your answer has more votes, and definitely involved more work. That Hexagony language of yours sounds impressive! – Luis Mendo – 2016-01-06T00:34:51.633

@LuisMendo, I'm sorry to say Martin's answer won, based on number of votes. Great answer though =) – Stewie Griffin – 2016-01-11T17:13:23.670

@StewieGriffin Thanks! I'd have picked his too :-) – Luis Mendo – 2016-01-11T17:25:45.050

3

Mathematica 10.1, 98 characters, safe

Output is here. The entire output has 838,316 characters and a trailing newline.

Code:

Print[""<>Chara__________________________________________________________________________________]

Yes, this must be run in 10.1. (hint) The original program:

Print[""<>Characters@ToCamelCase@ExampleData@{"Text","DonQuixoteIEnglish"}~SortBy~ToCharacterCode]

LegionMammal978

Posted 2015-12-26T11:52:40.000

Reputation: 15 731

At first I was quizzical as to which ASCII standard contains a hundred thousand codepoints, but now I understand, – cat – 2015-12-26T22:45:25.383

Since when is Mathematica free? – mbomb007 – 2016-01-05T20:00:42.253

@mbomb007 You would have to ask Martin Buettner. – LegionMammal978 – 2016-01-05T21:58:12.167

@LegionMammal978 no need to. You can use the Wolfram Cloud.

– user48538 – 2016-01-06T12:34:20.467

3

CJam, 8 bytes, Cracked by Pietu1998

__:_____

prints

%*;a|~

You can try CJam online.

Martin Ender

Posted 2015-12-26T11:52:40.000

Reputation: 184 808

Cracked. – PurkkaKoodari – 2015-12-28T13:14:32.763

3

Python 3.4, 127 characters

This is my first coppers-post. I think/hope it's not too hard or too obvious.

The obfuscated code:

_______inspect__________________getsource_____________________________________________print__________c*s_______________________

creates this output (there are 5 spaces at the beginning; total length is 7740 characters):

     """"""""""""(((((((((((((((((((((((((((((((((((((((((((((((((((((((()))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))**********************...................................................................................................................;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;==============================[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccdddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii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nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnoooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooopppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppprrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrsssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

agtoever

Posted 2015-12-26T11:52:40.000

Reputation: 2 661

3

Malbolge, 254 characters, cracked by Adnan

Code:

_____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____ __

Output:

`AB\cd`

I kinda cheated by putting a space for every 6th character. Oh well...


Adnan's cracked code:

('&%: ^"!65 4Xzyx w4-Qs rpo'K mlk"' ~Dfdc ba}v< ::8[Z XnVlq }0/mO ,*MbK JH^6# 4`C|0 ?U=Sw uPsaq L4on2 Mjjh, ged)c '<$$p ]!};Y WiVxS eRQ>= ).K]l Ij"Fh gfedc b,=;z L\q%H X3E2C /ng-k N*KJI 8%6#D ~2^Ai >g<<d tUr`6 oJ"!1 /|{CU f)d>b <A_^! \};Yj yUxTS dtsr` ML

The original code:

bCBA@ ?>=<; :9876 54321 0/.-, +*)(' &%$#" !~}|{ zyxwv utsrq ponml kjihg fedcb a`_^] \[ZYX WVUTS RQPON MLKJI HGFED CBA@? >=<;: 9y165 43210 /.-,+ *)('& }C#"! ~wv<z \xwvu tsrqp onmlk jihgf e^$ba `_^W\ UyYXW VUTSR QPONM FKJIH GFEDC BA@9] =<;:9 27654 3210) M:

I cheated again by using a text-to-Malbolge generator for this code.

frederick

Posted 2015-12-26T11:52:40.000

Reputation: 349

Cracked – Adnan – 2015-12-30T19:26:31.500

2

Labyrinth, 5 bytes, Cracked by Adnan

_____

prints

000000

My original code was:

<!!@ 

Note the trailing space.

I suppose I should have gone for more characters and revealed one of the !, because Adnan's solution only grows linearly when adding more !, while mine grows quadratically.

Martin Ender

Posted 2015-12-26T11:52:40.000

Reputation: 184 808

2Cracked – Adnan – 2015-12-26T14:25:48.207

2

CJam, 12 characters, Cracked by jimmy23013

Output

#$%&'()*+,-./:;<=>?@[\]^_`

Code

_:____#_____

Dennis

Posted 2015-12-26T11:52:40.000

Reputation: 196 637

Cracked. – jimmy23013 – 2015-12-26T15:38:01.890

2

Because I majorly f'ed up my last answer.


Mouse-2002, 23 chars, safe

Code:

________9<^___________

Output:

!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`ab

cat

Posted 2015-12-26T11:52:40.000

Reputation: 4 989

2

ES6, 17 characters, cracked by Cᴏɴᴏʀ O'Bʀɪᴇɴ

__=____=_________

This is a function that will return the string

11233

Neil

Posted 2015-12-26T11:52:40.000

Reputation: 95 035

I assume you mean JavaScript? – Conor O'Brien – 2015-12-26T20:25:47.533

Cracked? – insertusernamehere – 2015-12-26T20:28:33.123

FYI the original code was (i=106)=>i*i-3+'' – Neil – 2015-12-26T23:26:55.087

2

PHP, 28 characters

<?=________________________;

Outputs the string

abcdefghijklmnopqrstuvwxyz

Niet the Dark Absol

Posted 2015-12-26T11:52:40.000

Reputation: 647

3You should add that this was cracked. – LegionMammal978 – 2015-12-26T20:39:40.390

3@LegionMammal978 How would the OP know that if you delete your comment linking to the crack? – Martin Ender – 2015-12-26T20:56:03.697

4@MartinBüttner My crack was a duplicate. – LegionMammal978 – 2015-12-27T01:08:05.263

2

JavaScript, 83 chars, Cracked by Martin Büttner

Output

Hi~~~

Code

_=____r____=u____=__s__=_________=__________________u_______A__________e______"_~_"

Output is in the JS console of a browser like Chrome/Firefox.
Original code (which might be invalid):

q=w=e=r=t=y=u=i=o=p=s=d=f=g=h=j=k=l=z=x=c=v=b=n=m="Huh"[0]+"Alarms in here"[7]+"~~~"

ev3commander

Posted 2015-12-26T11:52:40.000

Reputation: 1 187

Cracked? – Martin Ender – 2015-12-26T21:16:53.717

2

Pyth, 6 characters, cracked by Pietu1998

Code:

S_____

Output:

.0113345678888999

You can try Pyth here

Adnan

Posted 2015-12-26T11:52:40.000

Reputation: 41 965

Cracked. – PurkkaKoodari – 2015-12-27T17:45:05.757

2

Pyth, 15 characters (safe)

Code:

_CM____________

Output:

"$%'()+-./013456789:;=?BCEFGIKLOPRSTUWXYZ[]^`abcdefghjklmoqsuvxy{|

You can try Pyth online.

I wonder if you can find out the criteria for the characters. :3

Additional hint:

One could have a computers firm like Captor's Fermium totally messed up on just this one puzzle, and still they wouldn't fully solve it. Even the actor Frump Mise couldn't solve it.

Original code

sCMf%sPT3rCN127

Explanation:

rCN127 generates all numbers from 34 (CN = ord('"')) to 127. f%sPT3 finds all the ones that satisfy the following: the sum of the prime factors of n is not divisible by 3. s concatenates the results. The first hint has the number 3, and it refers to filtering the characters/numbers. The additional hint contains 3 anagrams of prime factor sum.

PurkkaKoodari

Posted 2015-12-26T11:52:40.000

Reputation: 16 699

2

JavaScript ES6, 134 characters

Huh boy, that was fun. Good luck!

_=_=_____l____.______.________(___}__;___=______ru____"_____+_[________]______!____]__[_________e________.__U_________)__________\_____

Outputs:

((((((()))))))+...000000000000000000002233=>AAAAAAAAAAABBBBBCCCCCCCCCCCCCCCCCCDDDDDDDEEEEEEEEEEEEEEEEEEEFFFFFFFGHIIIIIIIIIIIIIIIIJJJJLLMMNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOPRRRRRRRSSSSTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUVVVVVVXXY[[[[[[[[]]]]]]]]````ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeffffffffffffffffffffffffffffffffffffffffffffffffffffffffiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiinnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu{{{{{{}}}}}}

Conor O'Brien

Posted 2015-12-26T11:52:40.000

Reputation: 36 228

2

Seriously, 7 bytes, Cracked by Martin Büttner

______S

Output:

   deeknnoow

Shouldn't be too difficult, even if the result is not exactly what you'd expect.

quintopia

Posted 2015-12-26T11:52:40.000

Reputation: 3 899

Cracked. – Martin Ender – 2015-12-28T11:42:38.503

2

Python 3, 58 characters, cracked by Mitch Schwartz

Code:

______________print(_______(_______________________)_____)

import string;print(''.join(sorted(string.printable))[5:])

Output:

 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~

301_Moved_Permanently

Posted 2015-12-26T11:52:40.000

Reputation: 401

Cracked. – Mitch Schwartz – 2015-12-28T19:56:47.673

Cracked. – cat – 2015-12-29T00:32:01.643

Oh, wait, Mitch's comment never loaded for me till now... that makes me really sad. – cat – 2015-12-29T00:32:39.887

2

Ruby, 32 characters, safe

Output (with no trailing newline):

!"#$%&'(+,./567;<HKLUVWnouvw

Obfuscated code:

________{|c|___________________}

Revealed code:

95.times{|c|c&5*c<7&&putc(c+33)}

Explanation:

Actually pretty straight-forward, just too arbitrary to easily guess or brute-force. For each number c from 0 to 94, bitwise-and c and 5*c. If the result is less than 7, add 33 and output as an ASCII character.

histocrat

Posted 2015-12-26T11:52:40.000

Reputation: 20 600

2

Befunge, 11 characters, cracked (in funge-98) by MegaTom

Output:

1223788

Obfuscated code:

________.__

All one line, since the rules prohibit newlines. Tested using http://www.quirkster.com/iano/js/befunge.html .

Edit: This is legally cracked since I didn't specify a version, but note that there's a Befunge-93 solution still out there.

histocrat

Posted 2015-12-26T11:52:40.000

Reputation: 20 600

Cracked – MegaTom – 2015-12-29T22:36:25.720

2

Perl 5, 30 bytes, cracked by Adnan

Code:

print_________________________

Output:

9:;@AFGHLMNRSTYZ_`a

Cracked:

Adnan found a trivial crack: obviously, I didn't think this puzzle through well enough. I've composed another instead.

msh210

Posted 2015-12-26T11:52:40.000

Reputation: 3 094

2

Python 2, 62 chars, Cracked by Adnan

______________________________________________________________
         | |   ||                  |  |  ||

It kinda looks like a table.

This outputs the string abcde.

Adnan's code:

print "ab_c_de___".replace("_","")#___________________________

My code:

f=lamda _,__,___:"abcde"+'f'*sum(_,__,___)*000;print f(1,2,3);

Rɪᴋᴇʀ

Posted 2015-12-26T11:52:40.000

Reputation: 7 410

Cracked – Adnan – 2015-12-30T23:01:21.490

I am allowed to use comments, right? – Adnan – 2015-12-30T23:28:42.527

I don't know. I specifically said when I posted it there were no comments. I don't know if I can do that though. I commented on the OP and asked. We'll see what he says. – Rɪᴋᴇʀ – 2015-12-30T23:50:54.203

1You can not use comments (but the robbers can use comments when cracking the code) (CC @Adnan) – Dennis – 2015-12-31T01:28:41.713

Awww. @Rikerw is sad now. – Rɪᴋᴇʀ – 2015-12-31T01:31:46.060

1

Marbelous, 39 characters (safe)

_ is an unknown character: it may or may not be a newline.

* represents a newline character.

__^__________*__<___________@___/_*____

Output:

%,:>?@@BBFFNN^^~~

Code:

@0^5FF
0101FC
\\<ZEE
<</\+S
@0+Z//
25--

Online interpreter. None of the options should be checked.

es1024

Posted 2015-12-26T11:52:40.000

Reputation: 8 953

2Unfortunately, the code can only consist of printable ASCII. – Martin Ender – 2015-12-26T13:34:43.010

OP's comment: This is a valid post, although it says in the challenge that only printable ASCII characters should be used in the code. I confirmed to es1024 that newlines could be used. This will be the only exception to this rule. – Stewie Griffin – 2015-12-26T13:35:39.320

1@StewieGriffin Do you mean than nobody else can use newlines; only es1024 in this answer is allowed to use them? – Mitch Schwartz – 2015-12-27T06:37:46.867

Not allowing newlines effectively excludes Marbelous from these challenges. No non-trivial program can be written in mbl without vertical movement of marbles. – Sparr – 2015-12-30T18:16:11.407

@Sparr I don't see how the comments on this answer are agreeing with you. If nobody else can use newlines, then you can't either. – cat – 2015-12-30T22:33:32.297

@cat es1024 was told by the author of the question that newlines can be used in this answer. it is unclear whether "this will be the only exception" applies to just this answer, or just to es1024, or just to Marbelous. – Sparr – 2015-12-30T22:36:17.933

1

Recall, 64 characters

Output:

ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~

Code:

_D_0__0_M__________0__0___0_________Z___0____0_____________M____

Pretty straightforward in theory. I made a sandbox here, so you can try things. Keep in mind that infinite loops or deep recursion will crash your tab/browser, so keep a copy elsewhere when trying. You can also download recall.min.js from the link in the title and run it with node.js.

mınxomaτ

Posted 2015-12-26T11:52:40.000

Reputation: 7 398

1

PHP, 68 characters, safe

As usual, don't expect anything short from PHP:

______________________________1_________________________________[1_;
 |    |    |           |               |           |    |      |

Outputs this 252 character long string:

AAAAAAAABCCDDEEEEEEEGIIIIIKLMNNOOOOOOOOOPPPPRSSTTTUUUUUXYYZaaaaaaaaaaaaaabbbbccccccccccccdddddddeeeeeeeeeeeeeffffffggghhhhiiiiiiiiiiiklllllllllllllllmmmmmmnnnnnnnnnnooooooooooooooopppppppppppppqrrrrrrrrrrrrrrsssssssssssssssssstttttttttuuuuuuuuuwxyyyzzz

Hint 1

Sometimes you have to "translate" things.

Hint 2

Luckily PHP stores all those helpful "translations" for you internally.

Revealed code

There aren't too many built in functions, that return long strings or arrays with predefined values. One exception is get_html_translation_table. I sorted this array and returned the first character after the & from all escape sequences, e.g. the A from &Auml;. It has a nice distribution which looks random because the amount of entities related to a letter varies a lot.

$_=get_html_translation_table(1);sort($_);foreach($_ as$_)echo$_[1];
______________________________1_________________________________[1_;
>| | | | | | | |

insertusernamehere

Posted 2015-12-26T11:52:40.000

Reputation: 4 551

1Unexpected T_PAAMAYIM_NEKUDOTAYIM? – cat – 2015-12-27T00:52:17.717

1@cat Hihi. But it might be a different kind of translation. ;) – insertusernamehere – 2015-12-27T01:01:15.740

1

MirBSD Korn Shell, 62 characters, safe

Output:

!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~

Code (62 characters):

______________32________________127____________________echo_$s

Revealed code:

typeset -i1 x=32;while let ++x\<127;do s+=${x#1#};done;echo $s

mirabilos

Posted 2015-12-26T11:52:40.000

Reputation: 422

1

Milky Way 1.6.1, 24 characters, Safe

Output:

jklmnopqrt

Code (24 characters):

^_"_________________"__!

Solution

^^"pqrjklmno"C=<<<"t"JG!

Zach Gates

Posted 2015-12-26T11:52:40.000

Reputation: 6 152

1

PHP, 61 characters

Gonna try again, if that's okay :p I wasn't expecting range('a','z') to be particularly well-known, but I should have known better around here ;)

Code:

<?p___________++<_______h__________e______1____p_____________

Outputs:

AAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBCCCCCCCCDDDDDDEEEEEEFFFFFGGGGGHHHHHIIIIJJJJKKKKLLLMMMNNNNOOOPPP

Niet the Dark Absol

Posted 2015-12-26T11:52:40.000

Reputation: 647

1

Octave, 18 bytes:

Output in Octave:

ans =  $'())**+,,--../0011233

Note that ans =_ (replace _ with space) is how Octave prints output by default and is not part of the output string. The output string alone starts with a single leading space like this:

 $'())**+,,--../0011233

Code:

[________:_______]

Disclaimer: If this miraculously should end up being the shortest uncracked submission, I'll award the win to the runner-up. This won't be a winning submission, I just wanted to have some fun too. And I figured a relatively short MATLAB/Octave submission could be fun for others. The other one was too hard for me at least.

Stewie Griffin

Posted 2015-12-26T11:52:40.000

Reputation: 43 471

1

Python 2, 76 characters, Cracked by Adnan

print __________h______________________v_____________,___)_________)_______)

Outputs

BKT]f

Full Code

print "".join([chr(x) for x in list(reversed(range(32,126)[70:5:-9]))[3:8]])

wnnmaw

Posted 2015-12-26T11:52:40.000

Reputation: 1 618

2Cracked – Adnan – 2015-12-28T21:43:02.100

1

05AB1E, 7 characters, cracked by quintopia

Obfuscated code:

___T___

Original code:

576T*uH

576      # Pushes 576
   T     # Pushes 10
    *    # Multiply the last two items of the stack
     u   # To uppercase, this just returns 576 in string format
      H  # Convert from hexadecimal to decimal

Note: I used the uppercase command to convert the int to a string. This however is a bug and has already been fixed.

Output:

22368

Adnan

Posted 2015-12-26T11:52:40.000

Reputation: 41 965

Cracked – quintopia – 2015-12-30T15:26:02.990

1

Seriously, 7 characters, (uncracked and noncompeting)

I was inspired by trying to find an answer to Adnan's latest cop, by how close this number was to their number:

___P___

Output:

22366

22366 is the 211th triangular number. The original program was 8PτPurΣ but it is disqualified for containing two non-ASCII characters. It simply takes the 8th prime (23), doubles it (46), finds the 46th prime (211), then pushes the 0-211 range (ur) and sums it.

quintopia

Posted 2015-12-26T11:52:40.000

Reputation: 3 899

Just to confirm, this code contains only printable ASCII? – Martin Ender – 2016-01-04T22:26:36.120

No. Guess I missed that requirement. Thought only the output had to be printable ascii. Well I can tell you it consists only of printable CP-437 characters. – quintopia – 2016-01-05T00:27:20.830

1Since this doesn't meet the criteria, I suggest you [edit] it to note that it and its robbers are noncompeting. – msh210 – 2016-01-05T20:07:07.567

But I don't want it's robbers to be noncompeting! Can't the robbers get credit for cracking it even when it is not a legal cop? – quintopia – 2016-01-06T00:47:54.017

1

Marbelous, 19 characters

_1
___0
____
_____1

Outputs

39?E(

Sparr

Posted 2015-12-26T11:52:40.000

Reputation: 5 758

2"Write a program or function consisting only of printable ASCII characters (that excludes tab and newline)..." – cat – 2015-12-30T18:38:23.547

1@cat check the comments on the other Marbelous submission – Sparr – 2015-12-30T22:27:13.853

0

Pyth, 6 characters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rrrrrrrrrrrrrrrssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu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yyyyyyyyyyyyyyyzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz

Code:

S_____

Let's try a simpler one.

PurkkaKoodari

Posted 2015-12-26T11:52:40.000

Reputation: 16 699

Cracked – isaacg – 2015-12-28T01:12:47.367

0

Purple, 31 characters (safe)

__A_____________o______b__1___b

Full program:

a1AbA1iib{bi1b1Bo1aaa1bbab1Bi1b

Output:

abcdefghijklmnopqrstuvwxyz

Explanation:

It's about the shortest way to print the alphabet in Purple.

1.  a1A    Set to 1-"a" == -96
2.  bA1    Set b to -1 (using the fact that a is always negative)
3.  iib{   Set i=i-b, i.e. i+1. This skips over the "{"
4.  bi1    Set b = i-1 (the cell before the current command, containing "{")
5.  b1B    Set b = 1-"{" == -122
6.  o1a    Output 1-a (which will be the current character)
7.  aa1    Subtract 1 from a (i.e. move to the next character)
8.  bba    Set b=b-a. It will be negative until a==-122, when it will be zero
9.  b1B    Set b=1-what b points to. It will be 0 until a==-122, when it will be -96.
10. i1b    Jump to 1-b. This goes to line 2 until a==-122, when it jumps outside 
           the program and halts.

quintopia

Posted 2015-12-26T11:52:40.000

Reputation: 3 899

0

Unefunge-98, 16

Output:

&),/258;>ADGJMPSVY\_behknqtwz}

Code:

_#_________3____

MegaTom

Posted 2015-12-26T11:52:40.000

Reputation: 3 787

0

Perl 5, 31 bytes, safe

Code:

print__________________________

Output:

$%&&'+,,-1223478899:>??@DEEFJKKLLMPQRRSWXXY]^^_

Code:

print+(chr)x(1.2+cos)for 36..95

msh210

Posted 2015-12-26T11:52:40.000

Reputation: 3 094

0

JavaScript (ES6), 59 characters

Output:

   """'''(((((())))))+++++++++,,,,,,---------...............123:::===>>>???NNNNNNOOO[[[[[[\\\]]]]]]^^^______````````````aaabbbbbbccccccddeeeeeeeefgggggggggggghhhiiiijjjjjjjjjkkklllllllllnnnnnooooooooorrrssstttttttttu{{{}}}

The first 3 characters in the output are spaces.

Code:

(_____________________________________________.join``_____)

Note: The original version of this produced a much greater variation in characters with the exact same code hint, but I thought the output was unreasonably long so I decided that I'd at least give someone a chance at cracking this. :P Good luck!

user81655

Posted 2015-12-26T11:52:40.000

Reputation: 10 181

0

Forth, 29 chars

You're gonna need a very special version of Forth for this one: one that doesn't require newlines after function definitions.

Code

_______ __ _________ ____ ___

(Yes, that's whitespace, and yes, it has to be there or else one gets Error: Unknown word)

Output:

 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~

Note the leading space.

cat

Posted 2015-12-26T11:52:40.000

Reputation: 4 989

0

CJam, 9 chars

Code:

'_{___2__

Output:

abcdefghijklmnopqrstuvwxyz

username.ak

Posted 2015-12-26T11:52:40.000

Reputation: 411

Cracked. – Dennis – 2015-12-30T21:17:43.187

0

Brainfuck, 51 chars

Code

_____[________________]>.>_____[________]>[_______]

Output:

ABCDEFGHIJKLMNOPQRSTUVWXYZ

username.ak

Posted 2015-12-26T11:52:40.000

Reputation: 411

1+++++[>+++++++++++++<-]>.>+++++[>+++++<-]>[<<+.>>-] – Mitch Schwartz – 2015-12-30T18:23:23.917

@Mitch Schwartz wow, it's exactly the same as real code – username.ak – 2016-01-05T10:03:58.473

0

cat

Posted 2015-12-26T11:52:40.000

Reputation: 4 989

Shouldn't this reveal 12 characters? – Dennis – 2015-12-31T01:41:21.320

@Dennis it absolutely should, I pasted the wrong version (after I added bytes.) – cat – 2015-12-31T01:56:38.877

can you provide a run-length-encoded version of the output for easier analysis? – quintopia – 2015-12-31T07:27:36.223

yeah, sure, gimmie a sec – cat – 2015-12-31T13:05:57.960

1

@quintopia here ya go

– cat – 2016-01-02T13:43:09.430

@cat how many of each digit is there? I assume that one really large number would say, but I'm not sure how to partition it. – quintopia – 2016-01-02T15:13:44.547

@quintopia sorry, here, this might make it clearer

– cat – 2016-01-02T15:17:35.967

@quintopia did the second link help? – cat – 2016-01-03T17:17:27.890

Yes, but I haven't had time to work on it yet. – quintopia – 2016-01-03T17:30:03.193

0

Octave, 22 characters, Safe

Code:

__A____________A___V__

Output:

ans = ABCDFGHHIJLMNNOPRSTTUV

ans = is not part of the output. The output starts with an A.

Real code:

[(A=66:86)+sin(A),'V']

Explanation:

In Octave, variable assignments can be done in the same line they are used. So, the variable A is created starting from 66 (corresponds to A in ASCII) to 86 (corresponds to V in ASCII). +sin(A) creates a small sine wave noise. 'V converts the vector to chars and adds a V at the end. The variable name A and the last letter V was of course chosen to throw people of track =)

This one was made for the robbers. Hope it's neither too hard nor too easy. Good luck :-)

Stewie Griffin

Posted 2015-12-26T11:52:40.000

Reputation: 43 471