Perl Golf

View as PDF

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, they may not be more than 0 bytes of input.

Output Specification

You are to output Don Mills Online Judge.

Wait what?

Sample Output

Don Mills Online Judge

You will receive points, where is the length of your program. If your program /\w/, then you receive a score of zero.

• commented on June 30, 2020, 12:52 a.m. edited
• commented on Aug. 30, 2019, 2:25 p.m.

76 byte solution by teebee?

• commented on Aug. 30, 2019, 7:06 p.m. edited
• commented on Aug. 16, 2019, 12:23 p.m. edited

81 character solution by Phoenix1369?

• commented on Aug. 30, 2019, 11:54 a.m.
• commented on Jan. 25, 2016, 1: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?

• commented on Jan. 25, 2016, 9:11 a.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!