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 »

Posts by General Sebast1an‭

150 posts
81%
+7 −0
Challenges Operation "Find The Operator"

Challenge Make a program that takes input of 3 non-negative integers: a result and 2 other values that once calculated results to the 3rd value. The program must figure out how to get the 2 fir...

5 answers  ·  posted 3y ago by General Sebast1an‭  ·  last activity 3y ago by radarek‭

Question code-golf math number
81%
+7 −0
Challenges Collatz conjecture; Count the tries to reach $1$

Background Check out this video on the Collatz conjecture, also known as A006577. If you don't know what this is, we're given an equation of $3x + 1$, and it is applied this way: If $x$ is odd...

15 answers  ·  posted 3y ago by General Sebast1an‭  ·  last activity 3y ago by torres‭

Question code-golf math number
77%
+5 −0
Challenges 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: The tray: ...

2 answers  ·  posted 4y ago by General Sebast1an‭  ·  last activity 3y ago by Anonymous‭

Question code-golf graphical-output
77%
+5 −0
Q&A Getting started with making (and/or solving) KOTH challenges

I have seen KOTH (King of the Hill) challenges before but it's still unclear to me how to properly make, or even play, such challenge. To get started, how do I make (or solve) KOTHs? An answer cou...

1 answer  ·  posted 4y ago by General Sebast1an‭  ·  last activity 4y ago by Moshi‭

Question king-of-the-hill tips
77%
+5 −0
Challenges 99 Shortened Bottles of Beer

Disclaimer This challenge also exists in CGCC, but if you want to compete here (too), then hop in! Challenge Recreate "99 Bottles of Beer on the Wall", using the least bytes possible. Lyrics: ...

13 answers  ·  posted 4y ago by General Sebast1an‭  ·  last activity 3y ago by General Sebast1an‭

Question code-golf kolmogorov-complexity string
75%
+4 −0
Challenges Caesar shift cipher

Introduction What is the Caesar shift cipher (ROT$n$)? It's basically a cipher sequence that changes a letter's value from the number chosen. If we use ROT1 on "games", we get "hbnft". The basic i...

9 answers  ·  posted 4y ago by General Sebast1an‭  ·  last activity 1mo ago by CrSb0001‭

Question code-golf string sequence encryption decryption
71%
+3 −0
Q&A Tips for golfing in Python

Combine conditionals Python has its fair share of comparison operators and can actually be used in a single conditional. For example: x == 2 and y == 2 can be: x==y==2 Used on Make $2 + 2 ...

posted 3y ago by General Sebast1an‭  ·  edited 3y ago by General Sebast1an‭

Answer
71%
+3 −0
71%
+3 −0
Challenges Abbreviate everything

Challenge Make a program that takes input of a string and abbreviate it. All letters of an abbreviation are capitalized, so keep that in mind. Whitespace, numbers and non-English characters ar...

3 answers  ·  posted 3y ago by General Sebast1an‭  ·  last activity 3y ago by Hakerh400‭

Question code-golf string
71%
+3 −0
Meta 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?

1 answer  ·  posted 4y ago by General Sebast1an‭  ·  edited 3y ago by Trilarion‭

Question support asking
71%
+3 −0
Meta Separate the tags away from the Sandbox or delete the [finalized] tag

This is a feature-request post consisting of 2 actions for a reason... There's this thing that's been bugging me for a while in Code Golf CD. If you go to the tag page of the Challenges catego...

0 answers  ·  posted 4y ago by General Sebast1an‭  ·  edited 4y ago by General Sebast1an‭

Question support feature-request tag
71%
+3 −0
Challenges My house is destroyed! Can you make me one?

Background A House of I I went on an adventure Grabbed resources and making deeds Like start to work on the materials To build the shelter I need It was a marvelous one At least in the eyes ...

10 answers  ·  posted 4y ago by General Sebast1an‭  ·  last activity 3y ago by Quintec‭

Question code-golf string
71%
+3 −0
Meta Add detailed wikis and usage info on these tags

In this request (not really a feature-request but still tagged so anyway), I'd like to have detailed wikis on tags and maybe usage information on them too. Currently, these tags have usage info in...

1 answer  ·  posted 4y ago by General Sebast1an‭  ·  last activity 10d ago by hydroxyl-radical‭

Question feature-request discussion tags
71%
+3 −0
Q&A Tips for golfing in C

C is a language I use most apart from Python and as someone who likes code golf challenges, what tips are there to golf in C?

4 answers  ·  posted 4y ago by General Sebast1an‭  ·  edited 3y ago by General Sebast1an‭

Question code-golf tips
71%
+3 −0
Q&A Tips for [fastest-code] in Python

What tips are there in fastest code, or what I like to call code speeding, challenges in Python?

1 answer  ·  posted 4y ago by General Sebast1an‭  ·  last activity 2y ago by trichoplax‭

Question tips fastest-code
66%
+2 −0
Q&A Tips for golfing in Python

Replace for loops with string multiplication Let's say we have: for i in range(6):print(end="#") Try it online! This basically outputs # 6 times, which is self-explanatory in the code itsel...

posted 3y ago by General Sebast1an‭

Answer
66%
+2 −0
Q&A Tips for golfing in Python

import* You can import some libraries and if you find yourself using: from lib import * Remove the space between import and *, because it works for whatever reason.

posted 3y ago by General Sebast1an‭

Answer
66%
+2 −0
Challenges Reverse an ASCII string

Lua, 32 bytes print(string.reverse(io.read())) Try it online! Noice built-in.

posted 3y ago by General Sebast1an‭

Answer
66%
+2 −0
Q&A Tips for golfing in Python

Replace range() if $n < 4$ If you're using a for loop, you're probably using range() for the list count. You can actually replace it if the number inside range() is less than 4. Why? Examine th...

posted 3y ago by General Sebast1an‭

Answer
66%
+2 −0
Q&A Tips for golfing in Python

* == and If you want to check if two booleans or integers and want to check if both of them are true in an if statement, then you can leave out and to replace it with *: x=2;y=3 if x and y:pri...

posted 3y ago by General Sebast1an‭

Answer
66%
+2 −0
Q&A Tips for golfing in Python

Use a+=[b] instead of a.append(b) The title says it all. a=[];b=10;print(a) a+=[b];print(a) Try it online!

posted 3y ago by General Sebast1an‭

Answer
66%
+2 −0
Q&A Tips for golfing in Java

Use for(;;) instead of while(true) The title's self-explanatory. A byte saver.

posted 3y ago by General Sebast1an‭

Answer
66%
+2 −0
Challenges 99 Shortened Bottles of Beer

Java (JDK), 311 301 296 bytes interface A{static void main(String[]x){String a=" bottle",b=" of beer",c=" on the wall. ",e;for(int i=99;i>0;i--){e=i>1?"s":"";System.out.println(i+a+e+b+c+(...

posted 3y ago by General Sebast1an‭  ·  edited 3y ago by General Sebast1an‭

Answer