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 41061

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.

4
votes
Scratch, 81 bytes when gf clicked say [Press any key to continue... wait until <key [any v] pressed (Scratchblocks link) If you wanted it to stop the entire program when you pressed a key (inclu …
answered Jan 25 '17 by Florrie
0
votes
JavaScript, 65 bytes First code golf, but here's my simple JavaScript implementation: function f(n){for(i=1;i<n;)console.log(String.fromCharCode(i++))} Not great but decent. ;) Usage: f(x) // x …
answered Jun 10 '15 by Florrie
1
vote
JavaScript - 52 bytes Here's mine, it's pretty simple. function f(n,s){return s+"\n"+Array(n).join(" ")+"^"} Usage: $ console.log(f(7, "Any string at all")) Any string at all ^ It points …
answered Jun 10 '15 by Florrie
2
votes
JavaScript (ES6), 77 73 64 61 bytes x=prompt()==1;j=a=>{if(x)setTimeout(j,9);console.log(+x)};j() This program doesn't crash your web browser! Explanation: x = prompt() == 1; // this …
answered Nov 3 '15 by Florrie
1
vote
[this is a sticky note] This answer has multiple versions. Due to the fact that I honestly am not quite sure what "input" means here. The first is the one I would use to score myself. Go down …
answered Oct 12 '15 by Florrie
8
votes
JavaScript (ES6), 263 bytes n=Date;o=n.now();(function g(){k=new n;j=new n(o);s=`${k} ${o} `;if(n.now()-o>86400)console.log(`${s}${k.getFullYear()}? You mean we're in the future?`);if(o-n.now()>84600 …
answered Oct 21 '15 by Florrie
2
votes
JS (ES6), 87 bytes x=(w,g,c,m)=>(f=>f`Gg`+f`Cc`+f`Mm`+f`Gg`)(([[x,y]])=>(x.repeat(w)+` `).repeat(eval(y))) x acts as a standalone lambda function. The result has a trailing newline. Try in a snipp …
answered Apr 17 '17 by Florrie
1
vote
JavaScript, 101 bytes Not as short as the other and probably doesn't have much room for improvement without changing how it works, but this was the solution I came up with without looking at any of t …
answered Aug 3 '16 by Florrie
0
votes
Scratch (scratchblocks), 323 bytes when gf clicked set [a v] to [ABCDEFGHIJKLMNOPQRSTUVWXYZ set [l v] to [1 repeat (26 set [o v] to [ repeat (l set [o v] to (join (o) (letter (l) of (a end …
answered Aug 3 '16 by Florrie
1
vote
HTML, 209 characters <pre># # # # # # # # # # # # # # # # # ### ## # # # # # # # ## # ## # # # ## # # # # ## # # # # # # # # # # # # …
answered Jun 11 '15 by Florrie
2
votes
JavaScript (ES6), 89 bytes This one is not nearly as byte-efficient as the other JavaScript entry, but I made this without noticing this rule: Given a string of length 10 So this isn't a seriou …
answered Jul 29 '18 by Florrie
2
votes
JavaScript (ES6), 57 55 bytes (s,x)=>s.split`.`.map((j,i)=>i==x?+j+1:i>x?0:j).join`.` Examples: n=(s,x)=>s.split`.`.map((j,i)=>i==x?+j+1:i>x?0:j).join`.` console.log(n('1.0.3', 0)) console …
answered Dec 9 '16 by Florrie