Activity for General Sebast1an
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #282534 |
Post edited: |
— | over 3 years ago |
Edit | Post #282534 | Initial revision | — | over 3 years ago |
Answer | — |
A: A number adder, not a death adder [Python 3], 58 39 bytes P1: print(f"print(int(input())+{input()})") Try it online! P2 (given I inputted `10`, 30 22 bytes): print(int(input())+10) Try it online! (more) |
— | over 3 years ago |
Comment | Post #282511 |
Props to them then, I guess. That's a cool way of making such answer. I also wanna do the same as @#53310. (more) |
— | over 3 years ago |
Comment | Post #282477 |
@#8176 I don't see the problem with it being in `.h`, but okay. Which problems should I address though, since that would help when I post the question? (more) |
— | over 3 years ago |
Comment | Post #282477 |
@#53922 It was originally a link to download the `.zip` file. I fixed it for you. (more) |
— | over 3 years ago |
Comment | Post #282491 |
So you're saying I should add the function's bytes as well, or the entire library? Like I said, it's not for golfing, so it's pretty much allowed. (more) |
— | over 3 years ago |
Edit | Post #282477 |
Post edited: |
— | over 3 years ago |
Edit | Post #282477 |
Post edited: |
— | over 3 years ago |
Edit | Post #282477 |
Post edited: |
— | over 3 years ago |
Edit | Post #282477 | Initial revision | — | over 3 years ago |
Question | — |
Is my extension-like library allowed to be used in answers? I'm not a golfer, I know, but I do have wanted to make a programming language back then. The name is BMPL (Builder's Multi-Purpose Language) and is currently a library I made in C (clang). It's not essentially for golfing or even an esoteric language, but a simple to understand and basic syntax langu... (more) |
— | over 3 years ago |
Question | — |
Recreate the Server Fault logo Make the Server Fault logo using the following criteria: ![Server Fault Logo][2] The boxes' measurements: - There are 3 columns of 5 boxes, with long ones at the left where the rest are regular. - The following measurements of each row's height: Rows - The following measurements of each co... (more) |
— | over 3 years ago |
Answer | — |
A: Evens or Odds - you know this one [Python 3], 51 25 bytes n=int(input());print(n%2) Try it online! Golfed 26 bytes using the technique from my PHP answer. (more) |
— | over 3 years ago |
Comment | Post #282239 |
@#8062 for these challenges, simply set the portions where the whitespace of the left and top of the image is removed, then we can start adding the dimensions of each image. each user can create the images with whitespace or not, as long as it looks similar to the picture. the total size of the image... (more) |
— | over 3 years ago |
Comment | Post #282334 |
@#53514 so this challenge will be abandoned. (more) |
— | over 3 years ago |
Comment | Post #282334 |
@#53310 I don't know what trivial means here, but I won't post this challenge until it's favorable enough. (more) |
— | over 3 years ago |
Comment | Post #282334 |
@#53514 in Python, it seems to work this way: [Try it online!](https://tio.run/##K6gsycjPM/7/P9NW19A6y1bXyLqgKDOvRCNTNUvz/38A "Python 3 – Try It Online") (more) |
— | over 3 years ago |
Article | — |
Recreate modulo [cancelled] Recreate the modulo operation via function or program. Mechanics: - The modulo operator involves division and returns the remainder. - For a function, use 2 variables as `foo(a,b)` such that $x \mod y$. - For a program, take 2 variables as input where `a b` is $x \mod y$. - Use standard divisi... (more) |
— | over 3 years ago |
Question | — |
Tips for [fastest-code] in Python What tips are there in fastest code, or what I like to call code speeding, challenges in Python? (more) |
— | over 3 years ago |
Comment | Post #282239 |
@manassehkatz say we have https://cdn.sstatic.net/Sites/serverfault/Img/apple-touch-icon.png for this challenge, then https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png for the Stack Overflow challenge. there's the format, the portion between Sites and apple-touch-icon.png changes f... (more) |
— | over 3 years ago |
Answer | — |
A: Are they abundant, deficient or perfect? [Python 3], 235 185 141 118 bytes a=[[],[],[]] n=1;exec("d=sum(i for i in range(1,n)if n%i0]]+=n,;n+=1;"int(input())) print(a) Try it online! Golfed 50 bytes by @caird coinheringaahing. Golfed 44 bytes by @bastolki. Golfed another 23 bytes by @bastolki. (more) |
— | over 3 years ago |
Comment | Post #282239 |
I only found these logos because of the source code of each site, and I found these icons which I decided to use. this is what I prefer and is also used in my Stack Overflow challenge, like I already said. it came from the format https://cdn.sstatic.net/Sites/<sitename>/Img/apple-touch-icon.png, so l... (more) |
— | over 3 years ago |
Comment | Post #282239 |
@manassehkatz okay, nevermind! I might not end up posting this after all. (more) |
— | over 3 years ago |
Comment | Post #282239 |
@manassehkatz here's what I mean. now simply right-click the logo and go to the link so you know what I mean. this is also used on the Stack Overflow challenge. (more) |
— | over 3 years ago |
Comment | Post #282244 |
I might be taking the output literally, but is it okay/required to add the bracket at the beginning and end of the output? (more) |
— | over 3 years ago |
Comment | Post #279743 |
can I use HTML for this challenge? or is hardcoding the values in different tags a loophole? (more) |
— | over 3 years ago |
Edit | Post #282239 |
Post edited: |
— | over 3 years ago |
Suggested Edit | Post #282254 |
Suggested edit: (more) |
helpful | over 3 years ago |
Suggested Edit | Post #282239 |
Suggested edit: (more) |
helpful | over 3 years ago |
Comment | Post #282236 |
@MonicaCellio I'm sure it will be very hard. heck, I'd do all logos from Codidact if I want like what I'm doing in Stack Exchange. (more) |
— | over 3 years ago |
Answer | — |
A: "Hello, World!" HTML, 26 13 bytes ``` Hello, World! ``` Golfed 13 bytes thanks to @Razetime's advice. (more) |
— | over 3 years ago |
Article | — |
Recreate the Server Fault logo [released] Make the Server Fault logo using the following criteria: Server Fault Logo >The source for the logos in challenges I post are the apple-touch-icons. Therefore, don't blame me. This note will be removed once posted in the main section, but keep this in mind. Also, once this is posted in the main... (more) |
— | over 3 years ago |
Question | — |
Recreate the Stack Overflow logo >Originally from Somewhere Else. I thought I'd continue making more drawing challenges here now that I discovered it. Make the Stack Overflow logo using the following criteria: ![Stack Overflow logo][2] The tray: - Make a gray tray shaped like a bracket facing upwards using the following RG... (more) |
— | over 3 years ago |
Comment | Post #282237 |
thanks. I hope all of you enjoy my stay. [here it is.](https://codegolf.codidact.com/posts/282238) (more) |
— | over 3 years ago |
Question | — |
Can I repost a challenge that I posted elsewhere here? I have this challenge in Code Golf and I wonder if I can repost it here for more users to come, and also continue making these since I actually like them. Can I post this challenge to Codidact? (more) |
— | over 3 years ago |