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 |
For challenges involving sequences, typically of numbers following some pattern.
3
votes
Print numbers from 1 to 10
Whitespace,
71 bytes, thanks to LeakyNun,
63 bytes, thanks to Kevin
Spaces substituted with S, tabs with T, linefeeds with L:
(extra spaces inserted for readability)
SSSTL LSSTL SLS TLST SSSTSTSL TLS …
2
votes
Print numbers from 1 to 10
Python3 : 22 19 bytes
print(*range(1,11))
Output:
1 2 3 4 5 6 7 8 9 10
1
vote
Print numbers from 1 to 10
C++ : 67 bytes
#include<iostream>
int main(int i){for(;i<11;std::cout<<i++<<",");}
Output:
1 2 3 4 5 6 7 8 9 10