Activity for Sylvester
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #292935 |
Post edited: Updated rounding rules. |
— | 7 months ago |
Comment | Post #292935 |
The rule means that 33.x can be rounded either down to 33 or up to 34, no matter what digit x is. I can add second test cases if needed. (more) |
— | 7 months ago |
Edit | Post #292920 |
Post edited: Marked as finalized. |
— | 7 months ago |
Edit | Post #292935 | Initial revision | — | 7 months ago |
Question | — |
Display a Progress Bar The goal of this challenge is simple: given a ratio of whole numbers, output a 50-character long progress bar representing the ratio. Rules Input - Your program must take two numbers as input. These numbers will be the numerator and denominator of the ratio, in that order. Your program cannot ... (more) |
— | 7 months ago |
Edit | Post #292920 |
Post edited: |
— | 7 months ago |
Comment | Post #292920 |
Alright, I'll update it haha (more) |
— | 7 months ago |
Edit | Post #292920 |
Post edited: |
— | 8 months ago |
Comment | Post #292920 |
True, I'll change it. (more) |
— | 8 months ago |
Comment | Post #292920 |
Thanks for catching that! I edited the post and chose rounding up since that's simpler. (more) |
— | 8 months ago |
Edit | Post #292920 |
Post edited: |
— | 8 months ago |
Edit | Post #292920 |
Post edited: |
— | 8 months ago |
Edit | Post #292920 |
Post edited: |
— | 8 months ago |
Edit | Post #292920 | Initial revision | — | 8 months ago |
Article | — |
Display a Progress Bar [FINALIZED] Now finalized: Display a Progress Bar The goal of this challenge is simple: given a ratio of whole numbers, output a 50-character long progress bar representing the ratio. Rules Input - Your program must take two numbers as input. These numbers will be the numerator and denominator of the r... (more) |
— | 8 months ago |
Edit | Post #292910 |
Post edited: |
— | 8 months ago |
Comment | Post #292910 |
Alright, edited! (more) |
— | 8 months ago |
Edit | Post #292910 |
Post edited: |
— | 8 months ago |
Edit | Post #292910 |
Post edited: |
— | 8 months ago |
Edit | Post #292910 | Initial revision | — | 8 months ago |
Answer | — |
A: Source with the whole alphabet in order of appearance TI-BASIC, 23 bytes Like lyxal's answer, this program exits immediately, so nothing after the `Stop` is executed. The program ``` Stop GarbageCollectDetectAsymOffDispGraphiconj(BLACKClrfHomenormalpdf(SeqaClrAllListsFullvwAxesgetKeyZStandard ``` For those who are wondering, the reason th... (more) |
— | 8 months ago |
Edit | Post #291759 |
Post edited: |
— | 12 months ago |
Edit | Post #291759 |
Post edited: Fixed erroneous example. |
— | 12 months ago |
Comment | Post #291759 |
Oh yes, my mistake, I'll fix that. (more) |
— | 12 months ago |
Edit | Post #291759 |
Post edited: Added a rule allowing for different orientations based on input. |
— | about 1 year ago |
Comment | Post #291759 |
Hmmm, I don't really see anything against this, so I'll make it allowed. It seems to me like adding code to support multiple different orientations would hurt one's byte score, but then, I'm not an expert in golfing languages :P (more) |
— | about 1 year ago |
Comment | Post #291761 |
Good tips! I updated the answer. (more) |
— | about 1 year ago |
Edit | Post #291761 |
Post edited: Saved four bytes. |
— | about 1 year ago |
Comment | Post #291761 |
Thanks for pointing that out! I thought I'd fixed it, but I guess not lol. It's fixed now. (more) |
— | about 1 year ago |
Edit | Post #291761 |
Post edited: Fixed a typo. |
— | about 1 year ago |
Edit | Post #291761 | Initial revision | — | about 1 year ago |
Answer | — |
A: The 50 substrings that validate any string of Roman numerals Rust, 258 254 bytes - Saved four bytes thanks to trichoplax. ```rust fn v(s:&str)->&str{for b in "CCCC CCD CCM CDC CMC CMD CMM DCD DCM DD DM IC ID IIII IIV IIX IL IM IVI IXC IXI IXL IXV IXX LC LD LL LM LXC LXL MMMM VC VD VIV VIX VL VM VV VX XCC XCD XCL ... (more) |
— | about 1 year ago |
Edit | Post #291723 |
Post edited: Marked as finalized. |
— | about 1 year ago |
Edit | Post #291759 | Initial revision | — | about 1 year ago |
Question | — |
Fibonascii Squares The Challenge Your job is to, given input positive non-zero integer (more) |
— | about 1 year ago |
Comment | Post #291723 |
Thanks! Yes, I'm always happy when I can sneak in a little pun :)
Yeah, I do know about the syntax highlighting. I noticed it was highlighting the text but it didn't particularly bother me. You can change it so that there's no highlighting if you like, I'm good with it either way. Thanks for all y... (more) |
— | about 1 year ago |
Comment | Post #291723 |
I decided that the input will just be greater than zero. I also added another test case. (more) |
— | about 1 year ago |
Edit | Post #291723 |
Post edited: |
— | about 1 year ago |
Comment | Post #291723 |
I think it would be okay for code golfers to be able to change the orientation. I've updated the rules accordingly. (more) |
— | about 1 year ago |
Comment | Post #291723 |
I've set the minimum number of unique characters to five, I think that should be good :) (more) |
— | about 1 year ago |
Edit | Post #291723 |
Post edited: Updated rules based on comments. |
— | about 1 year ago |
Edit | Post #291723 | Initial revision | — | about 1 year ago |
Article | — |
Fibonascii Squares [FINALIZED] Finalized: Fibonascii Squares The Challenge Your job is to, given input positive non-zero integer (more) |
— | about 1 year ago |