Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
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 8555

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.

17
votes
9answers
Task Given a letter (A, B, C), and a number (0-10), output the size of the matching standard paper size (Series A and B) or the matching standard envelope size (C series) in millimetres in the format …
asked Nov 15 '17 by WallyWest
2
votes
2answers
Write a program which takes the current time of the system clock, rounds to the nearest minute (you may choose how to round halves) and displays it formatted as the following: A quarter past one in t …
asked Dec 10 '13 by WallyWest
1
vote
JavaScript ES6 125 - 10 (30 character lines) - 50 (shifts toward middle) = 65 I had an epiphany going up the lift to my unit, so I had to get it down before it left my memory... z=(j=Array(t=29).joi …
answered Feb 18 '14 by WallyWest
9
votes
JavaScript 133 - 1 = 132 Surely there couldn't possibly be anything wrong with this version now...? for(k=prompt(),c=console,j=-100;100>=j;j++)if(i=j,0==j&j==k)c.log(0);else for(;i;)if(h=i%10,h=0>h? …
answered Mar 5 '14 by WallyWest
11
votes
2answers
The Doctor, in trying to escape from the Dalek forces has decided to send them in a spin by traveling in various pockets of space in a spiral motion. Depending on the nature of the available space-ti …
asked May 16 '15 by WallyWest
1
vote
JavaScript 391 _='L=b=>b.length;c=console.log;p=prompt;r=(l*=" ")3m*),s=(f=[]3n=w=a52i=0;i<67i++)l/==m@&&(m!,l/=g+r/,r/8g),?>w&&(w=?72;67){9$]5‌​2:]56)&&%#)+64)<w;)#8l4+g,:-1]8r@+g,l!,r!;#8g.repeat(w …
answered Mar 24 '14 by WallyWest
0
votes
JavaScript 234 for(l=-1,r="",I=0,y=(s=prompt()).length;I<y;I++){c=s[I];n="";d=c.charCodeAt(0)-96;if(0>d)n=0;else for(k=J=0;J<8;k=++J){v="33333434"[k];if(d<=v){for(x=K=0;0<=d?K<d:K>d;x=0<=d?++K:--K)n+ …
answered Mar 5 '14 by WallyWest
1
vote
JavaScript 118 106 93 Unlike @micha's solution, mine takes in two variables via function and sends the alert of the result. function(a,b){m=Math;c=d=>d*d,e=1e3;alert("The hypotenuse of this right tr …
answered Feb 6 '14 by WallyWest
13
votes
JavaScript 293, -300 (rules) - 50 (turns display) - 25 (range warning) - 25 (no random function) = -107 (new score) r=new Date%65536+~(z=32767);n=x="";for((A=alert)("\107uess my number, \111 \147\151 …
answered Mar 4 '14 by WallyWest
15
votes
8answers
Disclaimer While I know there is this particular related question, my question uses two garage doors, a randomizing component, and I'm also basing this on real life events, seeing my son accidentally …
asked Aug 28 '16 by WallyWest
9
votes
8answers
Inspired by the following XKCD comic: In Missy Elliot's "Work It", part of the chorus goes as follows: Is it worth it, let me work it I put my thing down, flip it and reverse it Bearing that in …
asked Jan 8 '14 by WallyWest
2
votes
JavaScript (ECMASCript 6) 180 175 G=(a,d)=>d?G(d,a%d):a;P=a=>+("1e"+a);L=a=>a.length;f=prompt().split(".");B=P(L(b=f[1]));D=P(L(b)+L(c=f[2]))-P(L(b))||1;alert((m=(f[0]+b||0)*D+B*(c||0))/(g=G(m,n=B*D) …
answered Mar 18 '14 by WallyWest
12
votes
1answer
I'm a bit of a romantic, I love taking my wife out to see the sunrises and sunsets in the place we are located. For the sake of this exercise let's say I don't have code that can tell me the time of e …
asked Dec 26 '13 by WallyWest
11
votes
18answers
Disclaimer This question is not a duplicate of this question. I'm not counting specific digits, as we already have those set in the initial parameters. This question is focusing on the decimal number …
asked Sep 7 '16 by WallyWest
7
votes
4answers
Here's an interesting challenge... I want you to golf code than when executed will allow your input to be converted to mimic output as though you were typing on a DVORAK keyboard layout. The aim is …
asked Mar 3 '14 by WallyWest

15 30 50 per page