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 »

Activity for General Sebast1an‭

Type On... Excerpt Status Date
Answer A: Evaluate a single variable polynomial equation
[Python 3], 167 127 118 117 94 63 bytes def f(a,b): &#9;y=0 &#9;for z in range(len(a)):y+=a[z]bz &#9;print(y) Try it online! Close gap to @user's `lambda` answer! Golfed 40 bytes thanks to @user's advice. Golfed another 9 bytes thanks to @user's advice.
(more)
over 2 years ago
Edit Post #279790 Post edited:
almost 3 years ago
Edit Post #283443 Initial revision almost 3 years ago
Answer A: Small integer swapping
[C (clang)], 63 bytes x,y;main(){scanf("%i%i",&x,&y);printf("%i %i\n%i %i",x,y,y,x);} Try it online!
(more)
almost 3 years ago
Edit Post #283442 Post edited:
almost 3 years ago
Edit Post #283442 Initial revision almost 3 years ago
Question Remove flags on the leaderboard
I'm still being bugged by flags being ignored when adding the language onto the leaderboard. Take for example here on an answer in Vyxal: ... In case you don't know, when we write an answer, using flags will add them as `code` beside the language name, and I don't think it's necessary to have f...
(more)
almost 3 years ago
Edit Post #283413 Post edited:
almost 3 years ago
Comment Post #283417 You can do more golfing now. :P
(more)
almost 3 years ago
Comment Post #283416 You can do more golfing now. :P
(more)
almost 3 years ago
Comment Post #283414 You can do more golfing now. :P
(more)
almost 3 years ago
Edit Post #283413 Post edited:
almost 3 years ago
Edit Post #283408 Post edited:
almost 3 years ago
Comment Post #283413 @#53837 So you don't get it? It's simple, the integers weren't swapped at all, only changed place in the output function.
(more)
almost 3 years ago
Edit Post #280858 Post edited:
almost 3 years ago
Edit Post #283413 Post edited:
almost 3 years ago
Edit Post #283413 Initial revision almost 3 years ago
Question Small integer swapping
In this simple challenge, create a short program that takes 2 `int`s as input, output them, swap their places, then output them again. Those 2 integers can't be the same number. The program with the shortest solution wins! Loopholes are banned in this challenge. An example C program for the challe...
(more)
almost 3 years ago
Edit Post #283408 Post edited:
almost 3 years ago
Comment Post #283408 This is a discussion thread for the above question. I'm just wondering if this might be considered a dupe.
(more)
almost 3 years ago
Edit Post #283408 Initial revision almost 3 years ago
Article Golf the MarkFuncs program [cancelled]
Introduction I wrote a Python program where it basically takes input of a string then something else if it's necessary, then it will solve a specific challenge, kinda like HQ9+. The program lies on a GitHub repo named MarkFuncs as the proglang's name if it even would exist. As of the posting of...
(more)
almost 3 years ago
Comment Post #283404 @#53503 Thanks for that. I guess it's safe to assume that due to the impossibility, the challenge is cancelled.
(more)
almost 3 years ago
Edit Post #283404 Post edited:
almost 3 years ago
Edit Post #283404 Post edited:
almost 3 years ago
Edit Post #283404 Initial revision almost 3 years ago
Article Get something random without functions [cancelled]
Introduction Random integer challenges aren't new. They've been here for a while now, yet none exists on Codidact. It's also noted that there are built-in functions that allows you to get random integers, which makes things all the more easier. How about upping the game? Challenge - Write a ...
(more)
almost 3 years ago
Comment Post #283380 @#8176 But can't you declare the headers on the Header section of TIO?
(more)
almost 3 years ago
Comment Post #283380 [467 bytes](https://tio.run/##VZFBbsMgEEWv4ngFmEi1uqnqWD1IlAUecIyKwR3AURrl7C6QVkoX6MP4Mf8zhj0YYc/bBpPASvctZwzSkpyF4@vLqb/VqGTN66syxl3S5oxK2aQDuktWDwKNCrliBHwmdTChSrooAVNSjMM1l41ec3nV7sGPojQwOt3LjZ3JRjA5cEaEjM4iliuASsxF9exdcdVmVZibO58J8R2Lp1Fz@Y7R@2KS4mbzJeJiMnCZdGm9aFuyYnq9KuGjqu/dSMBZH6rVackEfzoM9Aa...
(more)
almost 3 years ago
Edit Post #282334 Post edited:
almost 3 years ago
Comment Post #282238 @#8176 I love the creativity you got there for a C program, and how it really references the company well. Yeah, Somewhere Else is a bit crappy. I don't know if I actually will continue this series anymore. Copy-pasting? Yeah, sure, maybe I'll stop with that. If this series WILL continue (which I'm s...
(more)
almost 3 years ago
Edit Post #283337 Post edited:
almost 3 years ago
Edit Post #282238 Post edited:
almost 3 years ago
Edit Post #280829 Post edited:
almost 3 years ago
Edit Post #283231 Post edited:
almost 3 years ago
Edit Post #283337 Post edited:
almost 3 years ago
Edit Post #279233 Post edited:
almost 3 years ago
Edit Post #282280 Post edited:
almost 3 years ago
Edit Post #279601 Post edited:
almost 3 years ago
Edit Post #279199 Post edited:
almost 3 years ago
Edit Post #280740 Post edited:
almost 3 years ago
Edit Post #280761 Post edited:
almost 3 years ago
Edit Post #279852 Post edited:
almost 3 years ago
Edit Post #280092 Post edited:
almost 3 years ago
Edit Post #279778 Post edited:
almost 3 years ago
Comment Post #283341 @#53837 Don't worry. It's only THIS challenge (hopefully) of mine that'll ban specific built-ins. The only reason it was excluded to be used was to make the challenge harder. Getting those perfect squares with those 2 helpful operations is kinda boring, so I "flavored" it.
(more)
almost 3 years ago
Edit Post #283342 Post edited:
almost 3 years ago
Comment Post #283341 @#53837 I don't know how to make one at all. Might learn from Lyxal, but meh.
(more)
almost 3 years ago
Edit Post #282497 Post edited:
almost 3 years ago
Edit Post #282511 Post edited:
almost 3 years ago