0
\$\begingroup\$

This question already has an answer here:

This is the sequel to one of my previous challenges, Three-Three-Three!


Write a program (or function, or snippet) that takes no input and produces an output according to the following four Conditions.

Both the program and the output must be written such that:

  1. At least 16 distinct characters appear (since 16 = 4 × 4).
  2. The number of occurrences of each character is a multiple of 4.

Also:

  1. The program and the output must not be the same (because programs consisting of a single literal like 1111222233334444 are quite boring).

Finally, the program:

  1. Cannot be written as a string repeated 4 times (e.g. f();f();f();f();, 123412341234).

It's ! In anticipation of a multi-way tie for 64 bytes, the first submission whose output also satisfies Condition 4 will be the winner.

Notes

\$\endgroup\$

marked as duplicate by Stewie Griffin, steenbergh, flawr code-golf Jun 4 '17 at 10:25

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • \$\begingroup\$ So, point 4 is absolute and 3 is optional? I suggest changing the order if that's the case. \$\endgroup\$ – Stewie Griffin Jun 4 '17 at 10:13
  • \$\begingroup\$ @StewieGriffin Will do. \$\endgroup\$ – darrylyeo Jun 4 '17 at 10:16
  • \$\begingroup\$ @StewieGriffin In what way is this a duplicate? This challenge imposes more restrictions than its predecessor. \$\endgroup\$ – darrylyeo Jun 4 '17 at 10:21
  • \$\begingroup\$ My previous answer, and the same answer adapted to the new rules: 'ans====ans ans'%%%%ans==== ' ' \$\endgroup\$ – Stewie Griffin Jun 4 '17 at 10:23
  • \$\begingroup\$ And the 4th ' and 4th =? \$\endgroup\$ – darrylyeo Jun 4 '17 at 10:25
0
\$\begingroup\$

CJam, 16 bytes

4,4,4,4,@@@@\\\\

Try it online!

\$\endgroup\$

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