Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 46100

Code-golf is a competition to solve a particular problem in the fewest bytes of source code. If you want to score by characters instead of bytes, please state this explicitly in the challenge. If source code length is not the primary scoring criterion, consider using another tag instead.

-13
votes
6answers
Your goal is simple: to fail everything. More precisely, you should write the shortest code that triggers a compilation/interpretation error, or a runtime error. What does not count Failing with sy …
asked Sep 19 '18 by bodqhrohro
1
vote
ES6, 119 115 bytes f=s=>{a='';for(i in[...s]){b=s[c='charCodeAt'](i)-(s[c](i-1)|0);a+=(b>0?'+'.repeat(b):'-'.repeat(-b))+'.'}return a} Saved 4 bytes, thanks to @Leibrug
answered Jun 27 '16 by bodqhrohro
3
votes
JavaScript (ES6, using WebWorkers), 233 215 bytes c=s=0;d=new Date();for(i=14;i-->0;)(new Worker(URL.createObjectURL(new Blob(['a=new Date();setTimeout(()=>postMessage(new Date()-a),5e3)'])))).on …
answered Jun 16 '16 by bodqhrohro
0
votes
ES6, 90 bytes a=prompt();b=new Map();for(c of a)b.set(c,(b.get(c)|0)+1);alert([...b.values()].join(' '))
answered Jun 23 '16 by bodqhrohro
18
votes
26answers
Given a word, treat every letter as it's number in English alphabet (so a becomes 1, b becomes 2, z becomes 26 and so on), and check if all of them, including duplicates, are pairwise coprime. The in …
asked Sep 27 '18 by bodqhrohro
2
votes
C (with pthreads), 339 336 335 bytes #include<stdio.h> #include<sys/time.h> #include<pthread.h> #define d double d s=0;int i;pthread_t p[14];d t(){struct timeval a;gettimeofday(&a,NULL);return a.tv_s …
answered Jun 17 '16 by bodqhrohro
1
vote
VimL, 76 bytes a .-@@-.␤ ␤ ␛k6A=␛j8A-␛o␛10A=␛o␛10A_␛qaI(␛A)␛kq3@aGo ␛5A\/␛qayypxxI ␛q3@a Animated with vimanim.py.
answered Nov 19 '17 by bodqhrohro
25
votes
Bash + Imagemagick 7, 94 90 86 85 bytes magick -size 84x56 xc:#0048e0 ${s=-splice 8x8}+28+28 -background \#d72828 $s+32+32 x: Saved 8 bytes, thanks to @manatwork, and 1 byte, thanks to @GlennRande …
answered Jul 11 '16 by bodqhrohro