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 »

Search

Advanced Search Options

To further refine your search, you can use additional qualifiers such as score:>0.5. For example, the search score:>=0.5 created:<1y grammar would return only posts mentioning "grammar" that have a score >= 0.5 and were created less than a year ago.

Further help with searching is available in the help center.

Quick hints: tag:tagname, user:xxx, "exact phrase", post_type:xxx, created:<N{d,w,mo,y}, score:>=0.5

Filters
1.6k posts
 
66%
+2 −0
Sandbox Fibonascii Squares [FINALIZED]

posted 5mo ago by Sylvester‭  ·  edited 5mo ago by trichoplax‭

66%
+2 −0
Challenges Substring factor

Does a positive integer have a substring as a factor? Input A positive integer. Output One of 2 distinct values to indicate whether the input has a factor that is a strict substring of it...

3 answers  ·  posted 5mo ago by trichoplax‭  ·  last activity 3mo ago by Shaggy‭

66%
+2 −0
Challenges Fibonascii Squares

BQN, 29 28 bytes (⍉≍""){⍉⌽𝕩∾˘𝕨⥊˜⋈˜≠𝕩}´⟜⌽'@'+↕ Try it here! Explanation: (⍉≍""){⍉⌽𝕩∾˘𝕨⥊˜⋈˜≠𝕩}´⟜⌽'@'+↕ # a function taking a single argument ⍉≍"" # a 0-by-1 matrix (...

posted 5mo ago by dzaima‭  ·  edited 5mo ago by dzaima‭

Answer
66%
+2 −0
Challenges Fibonascii Squares

BQN, 37 bytes ⍉∘⌽∘∾˜´(⍉{1⊸⌈⊸⋈⊑+`∘⌽⍟𝕩↕2}⥊'@'⊸+)¨∘⌽∘↕ -3 thanks to dzaima The output isn't the same as the example but I think it's still correct if I understand the challenge correctly. Result...

posted 5mo ago by RubenVerg‭  ·  edited 5mo ago by RubenVerg‭

Answer
66%
+2 −0
Meta Short ​​​titles

This is already a category-level setting. An admin can change it to whatever y'all want it to be. I assume this would be for both the sandbox and the challenges category?

posted 5mo ago by Monica Cellio‭

Answer
66%
+2 −0
Challenges Hex ​​​detector

Vyxal, 46 bitsv2, 5.75 (6) bytes ɾ6*1p¦c Try it Online! Bitstring: 0010000001011001000111011010010100001111001000 Link is to test suite. Should execute up to 870 or so. Try it without the ...

posted 5mo ago by lyxal‭  ·  edited 5mo ago by trichoplax‭

Answer
66%
+2 −0
Meta Short ​​​titles

The title of a Codidact question has a minimum length of 15 characters. For a question this is generally fine, as the title will be a summary of the question in the form of a single sentence. Howe...

2 answers  ·  posted 5mo ago by trichoplax‭  ·  last activity 5mo ago by trichoplax‭

66%
+2 −0
Challenges Construct the Irish possessive

Python 3.8+, 577 bytes (was 634 than 591 bytes before) V="eéiíaáoóuúEÉIÍAÁOÓUÚ" r={"mé":("mo",0),"tú":("do",0),"sí":("a",1),"sé":("a",0),"muid":("ár",2),"sibh":("bhur",2),"siad":("a",2)} s=la...

posted 7mo ago by Arpad Horvath‭  ·  edited 7mo ago by Arpad Horvath‭

Answer
66%
+2 −0
Challenges The 50 substrings that validate any string of Roman numerals

Python, 220 bytes Works with Python 3.8 or newer. n=" IVXLCDM" x=("".join([n[(d:=ord(c)-32)//8]+n[d-8*(d//8)]for c in'&PW!H.!@/$HF$@G"H6"@7"03#P?%N%O%U%]%^%_&N&O!*!+!1!=!9!<!:!;...

posted 7mo ago by Arpad Horvath‭  ·  edited 5mo ago by trichoplax‭

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

Also posted here on CodeGolf.SE Brief introduction to Emmental: Emmental is a self-modifying programming language defined by a meta-circular interpreter. It is a stack based language, but also ...

0 answers  ·  posted 7mo ago by CrSb0001‭

Question code-golf tips
66%
+2 −0
Challenges Round trip stones

Python, 104 bytes f=lambda n:"1.0000000.7272730.7285710.7368420.7437890.7491640.7533440.7566570.7593360.761542"[8*n-8:8*n] Try it online! Not too clever. I am curious whether it can be beaten ...

posted 7mo ago by Arpad Horvath‭

Answer
66%
+2 −0
Challenges 8 coexisting queens

x86-64 machine code, 27 bytes 6A D7 58 99 B1 10 48 D3 C0 48 AB C6 07 0A AE 80 C1 48 73 F2 FF C2 74 EC 88 37 C3 Try it online! Following the standard calling convention for Unix-like systems (f...

posted 2y ago by m90‭  ·  edited 2y ago by m90‭

Answer
66%
+2 −0
Challenges 8 coexisting queens

Japt -R, 16 15 bytes Uses spaces for #s and "s for Qs. ##Ë64ì £QùXÄÃy Test it (footer reformats the output to use the characters from the spec) This one uses 1s for #s. ##Ë64ì £#ÿ¤hXQ ...

posted 2y ago by Shaggy‭  ·  edited 2y ago by Shaggy‭

Answer
66%
+2 −0
Challenges The holeyest base

Sclipting, (UTF-16) 86 bytes 標갠 관上가①要❶❹剩걉눑감⓶重右갰雙⓷加⓶❸分終⓷棄終并❶訂乾⓶折❷同終長괐縮⒈棄丟 Explanation: Input n 標 갠 관上 for b from 2 to 16 가 s = 0 ① n' = n 要 while n' is not 0 ❶❹剩 x = n...

posted 2y ago by Moshi‭  ·  edited 2y ago by Razetime‭

Answer
66%
+2 −0
Meta Is there a problem with the edit queues?

Addressing only the technical (platform) issues, and not community culture: We need to make pending edits more visible in two ways. As you said, you have to go to each category to see what's wait...

posted 2y ago by Monica Cellio‭

Answer
66%
+2 −0
Challenges Run-length encode a byte sequence

JavaScript (Node.js), 146 bytes f=(a,c=n=~(b=d=[],e=x=>x&&(c>191|d>2?b.push(d+192,c):b.push(...d+n?[c,c]:[c]),c=n,d=0)))=>(a.map(b=>c^n?c=(e(d>62|b-c),d++,b):(c=b,d=1))...

posted 3y ago by Hakerh400‭  ·  edited 3y ago by Hakerh400‭

Answer
66%
+2 −0
Sandbox Implement Rule 110 [FINALIZED]

posted 3y ago by celtschk‭  ·  edited 1y ago by trichoplax‭

66%
+2 −0
Challenges Run-length encode a byte sequence

JavaScript (Node.js), 101 82 bytes -19 bytes thanks to Shaggy! x=>x.replace(/(..)\1{0,62}/g,(c,g)=>c>'c'||c[5]?(192+c.length/2).toString(16)+g:c) Try it online! Everything can be sol...

posted 3y ago by Moshi‭  ·  edited 3y ago by Moshi‭

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

This is a list of golfing tips for the language known as Java. If you have a tip, add it in!

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

Question code-golf tips
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
Q&A Tips for golfing in Java

Abuse the C-like array syntax If you ever have to declare two variables, one of type X and the other of type X[], instead of two statements, you can declare them together using this atrocious synt...

posted 3y ago by user‭

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

Abuse anonymous classes Warning: This only works in very specific circumstances, and I've never actually needed it. Instead of defining a method outside of your method, you can make an instance o...

posted 3y ago by user‭

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

Use interface The special thing about this is that it lets you drop public when you originally call a class to run the main function. class F{public static void main(String[]a{}} interface M{sta...

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
66%
+2 −0
Challenges 1, 2, Fizz, 4, Buzz!

AWK, 72 bytes BEGIN{for(i=1;i<101;i++){s="";i%3||s="Fizz";i%5||s=s"Buzz";print s?s:i}} Try it online!

posted 3y ago by smlckz‭

Answer