Python Infinite Loop

View as PDF

Submit solution

Points: 7 (partial)
Time limit: 2.0s
Memory limit: 64M

Author:
Problem type
Allowed languages
Python

Almost everywhere on this site, we have always held infinite loops under poor regard. This is very unfair to infinite loops because they have their use too! Here, we compensate for the prejudice against them by awarding you points for creating one. However, there is a catch. You must do it as short as possible.

Input Specification

There are no inputs.

Output Specification

There are no outputs.

Scoring

Your score will be \left(\frac 9 N\right)^5 \times 7, where N is the length of your program in bytes, if your program works. Otherwise, it will receive a score of zero.


Comments


  • 0
    avid  commented on Nov. 2, 2018, 3:28 p.m. edited

    :O Why are people ACing but not receiving the points? e.g. https://dmoj.ca/submission/1077061


    • 5
      kingW3  commented on Nov. 2, 2018, 4:28 p.m.

      Your score will be  (\frac9 N)^5×7 , where N is the length of your program in bytes, if your program works. Otherwise, it will receive a score of zero.


  • 3
    quantum  commented on June 5, 2016, 1:46 p.m.

    I have rewritten the problem to use the new judge, fixing a couple of bugs on the way.


  • -11
    jlsajfj  commented on June 2, 2016, 9:15 p.m. edited

    This comment is hidden due to too much negative feedback. Click here to view it.


  • 6
    Zander  commented on May 7, 2016, 1:44 a.m.

    How is it possible to get TLE?


    • -11
      Kirito  commented on June 3, 2016, 6:05 p.m.

      This comment is hidden due to too much negative feedback. Click here to view it.


    • 5
      Xyene  commented on May 7, 2016, 11:35 a.m. edited

      We removed certain functionality from the judge used exclusively to make this problem; it will be reimplemented in a better way at some later date.


      • -8
        Kirito  commented on June 1, 2016, 9:15 p.m. edited

        This comment is hidden due to too much negative feedback. Click here to view it.


    • -19
      Kirito  commented on May 7, 2016, 10:00 a.m.

      This comment is hidden due to too much negative feedback. Click here to view it.


  • -9
    bobhob314  commented on Jan. 3, 2015, 8:43 p.m.

    This comment is hidden due to too much negative feedback. Click here to view it.


    • -9
      bobhob314  commented on Jan. 3, 2015, 8:54 p.m.

      This comment is hidden due to too much negative feedback. Click here to view it.


  • -11
    moladan123  commented on Dec. 13, 2014, 8:51 p.m.

    This comment is hidden due to too much negative feedback. Click here to view it.


    • 3
      FatalEagle  commented on Dec. 13, 2014, 9:10 p.m.

      Make an infinite loop with as little code as possible.


  • 5
    quantum  commented on Nov. 18, 2014, 10:48 p.m.

    If you output anything, you crash!