29
\$\begingroup\$

Cops challenge

The Robbers' Challenge

  1. Find a vulnerable answer. That is, an answer which hasn't been cracked yet and which isn't safe yet either.
  2. Crack it by figuring out its language. That is, find any language in which the given program is a valid program (subject to the rules outlined in the Cops' Challenge above). It doesn't matter if this is the language the cop intended.

    Once you have found a working language, post an answer to the Robbers' thread and comment below the Cop's answer. If you don't have enough reputation to comment, say this in your answer and someone will comment for you.

The output format must be the same as the cop's intended solution in order to constitute a valid crack.

Every user only gets one guess per answer. This includes telling other people the answer, or hints towards your guesses. You must not crack your own answer (obviously...).

The user who cracked the largest number of answers wins the robbers' challenge. Ties are broken by the sum of bytes of cracked answers (more is better).

Good luck Robbers!

\$\endgroup\$
  • 23
    \$\begingroup\$ Important: Please be nice to TIO and don't just (write a script or manually) test all of the languages there. TIO is very busy already. \$\endgroup\$ – user202729 Feb 7 '18 at 11:37
  • 12
    \$\begingroup\$ I feel like the whole Cops/Robbers thing is backwards. Shouldn't the Robbers be hiding their programs and Cops be trying to bust them? \$\endgroup\$ – Jo King Feb 8 '18 at 6:29
  • 3
    \$\begingroup\$ @JoKing ... just PPCG terminology. There is no reason to be incompatible, and there is absolutely no reason to change all the past cops-and-robbers ---questions--- challenges. \$\endgroup\$ – user202729 Feb 8 '18 at 10:19

126 Answers 126

0
\$\begingroup\$

QML, posted by Stephen Quan

import QtQuick 2.9
import QtQuick.Window 2.2

Window {
    visible: true
    width: 640
    height: 480
    title: qsTr("Hello World")

    ListView {
        anchors.fill: parent
        model: 100
        delegate: Text { text: index + 1 }
    }
}
\$\endgroup\$
0
\$\begingroup\$

LOLCODE, posted by Wurlitzer

HAI 1.3
IM IN YR loop UPPIN YR var TIL BOTH SAEM var AN 101
    VISIBLE SMOOSH var AN "," MKAY! 
IM OUTTA YR loop
KTHXBYE

Try it online!

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

PowerShell, posted by Iain

${-}=${-}-band0;while("${-}".length-le2){${-}++;${-}} 

Try it online!

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

rk, posted by MD XF

int $1
while $1 < 100 do
  print: ++ $1
done

Try it online!

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

Attache, posted by MD XF

Print!V[1..100]

Try it online!

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

Voidlang, 2627 bytes, posted by iovoid

"11"!"|"!"111"+!."|"!"1111"++!."|"!"11111"+++!."|"!"111111"++++!."|"!"1111111"+++++!."|"!"11111111"++++++!."|"!"111111111"+++++++!."|"!"91"!."|"!"911"+!."|"!"9111"++!."|"!"91111"+++!."|"!"911111"++++!."|"!"9111111"+++++!."|"!"91111111"++++++!."|"!"911111111"+++++++!."|"!"9111111111"++++++++!."|"!"991"+!."|"!"9911"++!."|"!"99111"+++!."|"!"991111"++++!."|"!"9911111"+++++!."|"!"99111111"++++++!."|"!"991111111"+++++++!."|"!"9911111111"++++++++!."|"!"99111111111"+++++++++!."|"!"9991"++!."|"!"99911"+++!."|"!"999111"++++!."|"!"9991111"+++++!."|"!"99911111"++++++!."|"!"999111111"+++++++!."|"!"9991111111"++++++++!."|"!"99911111111"+++++++++!."|"!"999111111111"++++++++++!."|"!"99991"+++!."|"!"999911"++++!."|"!"9999111"+++++!."|"!"99991111"++++++!."|"!"999911111"+++++++!."|"!"9999111111"++++++++!."|"!"99991111111"+++++++++!."|"!"999911111111"++++++++++!."|"!"9999111111111"+++++++++++!."|"!"999991"++++!."|"!"9999911"+++++!."|"!"99999111"++++++!."|"!"999991111"+++++++!."|"!"9999911111"++++++++!."|"!"99999111111"+++++++++!."|"!"999991111111"++++++++++!."|"!"9999911111111"+++++++++++!."|"!"99999111111111"++++++++++++!."|"!"9999991"+++++!."|"!"99999911"++++++!."|"!"999999111"+++++++!."|"!"9999991111"++++++++!."|"!"99999911111"+++++++++!."|"!"999999111111"++++++++++!."|"!"9999991111111"+++++++++++!."|"!"99999911111111"++++++++++++!."|"!"999999111111111"+++++++++++++!."|"!"99999991"++++++!."|"!"999999911"+++++++!."|"!"9999999111"++++++++!."|"!"99999991111"+++++++++!."|"!"999999911111"++++++++++!."|"!"9999999111111"+++++++++++!."|"!"99999991111111"++++++++++++!."|"!"999999911111111"+++++++++++++!."|"!"9999999111111111"++++++++++++++!."|"!"999999991"+++++++!."|"!"9999999911"++++++++!."|"!"99999999111"+++++++++!."|"!"999999991111"++++++++++!."|"!"9999999911111"+++++++++++!."|"!"99999999111111"++++++++++++!."|"!"999999991111111"+++++++++++++!."|"!"9999999911111111"++++++++++++++!."|"!"99999999111111111"+++++++++++++++!."|"!"9999999991"++++++++!."|"!"99999999911"+++++++++!."|"!"999999999111"++++++++++!."|"!"9999999991111"+++++++++++!."|"!"99999999911111"++++++++++++!."|"!"999999999111111"+++++++++++++!."|"!"9999999991111111"++++++++++++++!."|"!"99999999911111111"+++++++++++++++!."|"!"999999999111111111"++++++++++++++++!."|"!"99999999991"+++++++++!."|"!"999999999911"++++++++++!."|"!"9999999999111"+++++++++++!."|"!"99999999991111"++++++++++++!."|"!"999999999911111"+++++++++++++!."|"!"9999999999111111"++++++++++++++!."|"!"99999999991111111"+++++++++++++++!."|"!"999999999911111111"++++++++++++++++!."|"!"9999999999111111111"+++++++++++++++++!."|"!"999999999991"++++++++++!."|"!"9999999999911"+++++++++++!."|"!
\$\endgroup\$

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.