Perl Golf

View as PDF

Submit solution

Points: 15 (partial)
Time limit: 1.0s
Memory limit: 16M

Author:
Problem type
Allowed languages
Perl

Perl programs are a form of art. To show your understanding of this art form, you are invited to create an artwork! Your artwork is simple, print the string Don Mills Online Judge. You will be graded based on the length of your program.

Input Specification

There may be input. However, there may not be more than 0 bytes of input.

Output Specification

You are to output Don Mills Online Judge.

Sample Input

Wait, what?

Sample Output

Don Mills Online Judge

Grading

You will receive (\frac{83}{N})^2 \times 15 points, where N is the length of your program. If your program /\w/, then you will receive a score of zero.


Comments


  • 2
    anthony_  commented on June 30, 2020, 4:52 a.m. edit 2

    perl is truly black magic


  • 0
    Dingledooper  commented on Aug. 30, 2019, 6:25 p.m. edited

  • 2
    QwertyDvorak  commented on Aug. 16, 2019, 4:23 p.m. edit 2

  • 4
    r3mark  commented on Jan. 25, 2016, 6:22 a.m.

    So are we supposed to write the shortest code possible to print "Don Mills Online Judge" in Perl (or the other given languages)? I'm doing that but it is giving me /\w/. Is there something more to this problem?


    • 7
      Xyene  commented on Jan. 25, 2016, 2:11 p.m.

      \w is a regex metacharacter representing [a-zA-Z0-9_]: that is, an alphanumeric character (and underscores). In other words, your solution must not contain any letters, numbers, or underscores to be considered valid.

      Good luck!