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. If you output anything, you will crash.
Scoring
Your score will be , where
is the length of your program in bytes, if your program works. Otherwise, it will receive a score of zero.
Comments
read it if you understand it
This is a very interesting 7-point problem. Also, I submitted something in PyPy3, got an MLE, but then still got 7 points?
How come I got AC but no points? Does anyone know?
Please re-read the Scoring section.
Solved, thanks!
Most problems need to use inputs and outputs. This feels impossible...
so proud that I got this.. I'm a little confused as to the scoring though, I produced a 10 byte program that scored 6/10 and a 9 byte program that scored 10/10. This doesn't completely match the formula in the description, but I'm proud that I got a 10/10 eventually regardless.
This was a good problem. Kept AC'ed with no points but then I got it! 10/10 would rage again
This comment is hidden due to too much negative feedback. Show it anyway.
Re-read the Scoring section, or read this comment.
This comment is hidden due to too much negative feedback. Show it anyway.
Your score will be
, where
is the length of your program in bytes, if your program works. Otherwise, it will receive a score of zero.
How do you do an equation like that? I couldn't copy-paste it when I was writing this comment.
The DMOJ features a rich Markdown-based syntax, with custom extensions for LaTeX-based display math, and Mathjax-based inline math. See this template for a full feature example (you may copy/paste its content into your editor).
Source: https://docs.dmoj.ca/#/site/managing_problems.
You can see how the above equation was written using inspect element:
~\left(\frac 9 N\right)^5 \times 7~
.Thank you very much! :)
This comment is hidden due to too much negative feedback. Show it anyway.
This comment is hidden due to too much negative feedback. Show it anyway.
This comment is hidden due to too much negative feedback. Show it anyway.
Make an infinite loop with as little code as possible.