Search Results
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 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
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 |
A competition to solve a particular problem through the usage and manipulation of numbers.
0
votes
Print the Lost numbers
Gol><>, 12 bytes, score 6
"*"lRn;
Pretty simple, I just used whitespace to encode and outputted it in order, I believe the score is correct, since it said to set it to 50% if you don't use any …
1
vote
Sum of all integers from 1 to n
Gol><>, 7 bytes
I:P*2,h
Courtesy of JoKing
Try it online!
8 bytes
I::*+2,h
Try it online!
2
votes
Is this number triangular?
First version, 18 bytes
I8*P12,X1}:S(-Zh0h
I found a pretty simple formula for solving this, which helped golf this, since we are only looking to see if the number is triangular, rather than calculate …
1
vote
A Multipurpose Quine
JAVA -> ><>, (100/460 bytes)*2^0 = a score of .217... yay
import java.util.Scanner;public class M{public static void main(String args[]){Scanner i=new Scanner(System.in);String s="import java.util.Sc …
0
votes
Is it a whole number?
Gol><>, 17 bytes
I:0(q0h:S(-zq1!0h
A simple solution, but I will be golfing this alot more
Try it online!
0
votes
Turn an integer n into a list containing it n times
I //Get integer input
:R: //Repeat input, double the number
~D; //Delete the last item in the stack(to get the right number) and output the entire stack with debug
Try it online! …
1
vote
I reverse the source code, you negate the input!
Gol><>, 4 bytes
Ih-I
One byte golfed off courtesy of JoKing
Try it online!
1
vote
Fibonacci function or sequence
Gol><>, 7 bytes
12K+:N!
Byte knocked off courtesy of JoKing
Try it online!
9 bytes
01T2K+:Nt
Outputs forever with newlines
Try it online!
5
votes
2
answers
686
views
A Multipurpose Quine
Points
Points are based on this equation (courtesy of Luis felipe De jesus Munoz)
$${\frac{100}{\text{bytes}} \cdot 2^{\text{extra quines} - 1}}$$
(100 divided by the number of bytes multiplied by 2 …
1
vote
Integer logarithms
Gol><>, 7 bytes
IISLS(h
Can take the inputs seperated by a comma. (ex. [4,5], [6,8])
I'm pretty sure that this is the absolute smallest it can get..
2
votes
Is this number a prime?
Gol><>, 4 bytes
ISPh
Thanks to ASCII-only for letting me now I didn't need 2 bytes, since it was redundant.
Try it online!