Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Challenges

Post History

66%
+2 −0
Challenges Display a Progress Bar

Jelly, 13 bytes 50R>×ɗị⁾-|Ø[j Try it online! Full program only--insofar as supporting the input requirements is concerned. Jelly implicitly Python evals the arguments to every program, so s...

posted 6d ago by Unrelated String‭

Answer
#1: Initial revision by user avatar Unrelated String‭ · 2024-11-08T15:10:11Z (6 days ago)
# [Jelly], 13 bytes

    50R>×ɗị⁾-|Ø[j

[Try it online!][TIO-m38vep9q]

[Jelly]: https://github.com/DennisMitchell/jelly
[TIO-m38vep9q]: https://tio.run/##y0rNyan8/9/UIMju8PST0x/u7n7UuE@35vCM6Kz/h9s1I///N9Q30lEw0jcGEsYm@sYGBjoKpvqmBgA "Jelly – Try It Online"

Full program only--insofar as supporting the input requirements is concerned. Jelly implicitly Python evals the arguments to every program, so slash-separated input of two numbers becomes a float.

```
50R              For every [1 .. 50],
   >             is it strictly greater than
    ×ɗ           50 times the ratio?
      ị⁾-|       Replace 0 with | and 1 with -,
          Ø[j    and surround with [].
```