Hello, World!

View as PDF

Submit solution

Points: 1
Time limit: 2.0s
Memory limit: 64M

Problem type

quantum is taking ICS this semester, but is too busy working on this site to do the homework.

His homework for this week is to print out the message Hello, World! - with the same capitalization and punctuation. If you do his homework for him, he'll gladly give you one point as a reward.


  • -1
    BULLET999  commented on Dec. 2, 2017, 12:26 p.m.

    how do you System.out.println in english?

    • 1
      ZippIE  commented on Dec. 2, 2017, 7:24 p.m.

      Have your program output "Hello, World!" to the console.

  • 17
    quantum  commented on Aug. 23, 2017, 11:00 a.m.

    Please note that comments are not for extended discussion.

    DMOJ Slack exists for this purpose, and should be used if you want to ask questions or otherwise make comments that are unlikely to benefit other readers. This includes discussing problem spoilers or requests to debug code.

    Violation of this may result in your comments being removed. Repeat offenders may be muted.

  • -21
    goblin_high_priest  commented on March 9, 2017, 3:19 a.m.

    I am the high priest of the Big High War God.

  • 8
    Xyene  commented on Feb. 22, 2017, 3:02 p.m. edit 2
    Please do not discuss CCC scores

    This is a reminder that some schools will be writing the CCC until March 1st, and that online discussion should be kept to a minimum until then. This includes polling for scores.

    • 7
      bobhob314  commented on Feb. 22, 2017, 3:06 p.m.

      Sorry Toods. I enjoyed your appearance in the problemset btw.

  • -1
    root  commented on Sept. 25, 2016, 11:02 p.m. edit 2
    I give up

    After making 30+ attempts over five hours in four different languages, I'm speechless. The performance measurement needs some serious work. I posted the exact same code in the exact same configuration but somehow the performance was off by 100x+.(python 2 "print "Hello, World!"")

  • 9
    root  commented on Sept. 25, 2016, 10:58 p.m. edit 3

    There's me with assembly trying every bit of performance voodoo magic known to man. And then there's that guy with python2 four places above me who simply did "print 'Hello, World!'". Then comes the depressing realization that I literally spent more than two hours on a hello world program...

    • 5
      moladan123  commented on Sept. 26, 2016, 5:39 p.m.

      Look on the bright side. You just made hello world run in only 4 kilobytes.

  • 0
    Kirito  commented on Aug. 14, 2016, 12:23 p.m.
    New Title?

    Why does the title come up as 《Hello, World!》程序 when you try to search for it in problems?

    • 1
      quantum  commented on Aug. 14, 2016, 1:40 p.m.

      Highly obscure bug regarding newly implemented problem translations.

  • 2
    Xyene  commented on Aug. 3, 2016, 10:46 a.m.
    Occasional server 500s

    We're currently rewriting parts of the site, so you might get occasional 500 errors when we restart it periodically. Refreshing the page a couple seconds after should be fine.

  • 0
    Xyene  commented on July 6, 2016, 1:52 a.m.
    New status messages

    Since we've recently added extra info to RTE codes that some have found to be a bit confusing, we've made a page about status codes, status messages, and what they mean.

    If you have any feedback or still have doubts about any of the messages or when they occur, please let us know here.

  • 4
    Xyene  commented on May 2, 2016, 7:53 p.m. edit 2
    Possible grading errors

    Just a heads up, we're currently testing out a rewrite of the judge, so expect a couple of IEs here and there. Thank you for your understanding.

    Update: a number of problems were updated today, and are now solvable. All broken problems (aside from three interactive problems) should be fixed now.

    • -8
      Kirito  commented on March 31, 2016, 2:51 p.m. edit 3


    • -2
      Kirito  commented on March 14, 2016, 12:39 a.m.

      How do you output in JS? I've tried document.write(), console.log(), and even window.alert()

      • -2
        Xyene  commented on March 14, 2016, 9:52 a.m.

        See the runtime info page for details.

      • 3
        Kirito  commented on Feb. 21, 2016, 10:22 a.m.

      • -3
        123456  commented on Jan. 8, 2016, 9:14 a.m.
        Please help

        I cannot submit

      • -1
        cheesecake  commented on Nov. 18, 2015, 4:24 p.m.
        Comment Guidelines

        The previous thread has been deleted, please refer to our Comment Guidelines.

      • -14
        moladan123  commented on Jan. 24, 2015, 6:23 p.m.
        An Idea

        I wonder if it is possible to have a hello world hard mode wherein we would have a 0.01 second time limit. Or is that simply unfeasible?

        • 1
          quantum  commented on Jan. 24, 2015, 6:25 p.m.

          The best submissions does this already. Besides, it is trivially doable in some languages, most notably assembly.

        • 15
          Get_Shrekd_Fedora_Scrublord  commented on Nov. 14, 2014, 2:20 p.m.

          This is too challenging for most people. It's unreasonable to think you can keep the memory under 64M. Petition to remove this problem from the Internet.

          • 5
            Kyddlygon1_9  commented on Nov. 19, 2014, 11:24 a.m.

            After carefully rereading the problem's requirements over and over again, I have concluded that you are in fact correct. I will gladly sign such a petition, if only to ease the pain one must suffer staying up long nights trying to complete this unfeasible project. My sentiments out to all families who have fallen victim to this terrible request.

          • -9
            getwr3cked_scrublord  commented on Nov. 18, 2014, 2:02 p.m.

            get wrecked

            • -11
              steePHAN  commented on May 26, 2015, 11:26 a.m.

              HI MATT