Skip to main content
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
Results tagged with
Search options not deleted user 25319

For challenges involving sequences, typically of numbers following some pattern.

3 votes

Rearranging the sequence

C/bc, 233 121 112 bytes (assuming 3 byte penalty for |bc) Inspired by Cole Cameron, removed the hacky character manipulation and just do arithmetic on the argument value. Changed to scanf from using …
rici's user avatar
  • 691
5 votes

Rearranging the sequence

Python 2, 142 137 101 97 bytes (Thanks @adnan for the suggestion about input) (Applied the incremental calculation from the C version) f=1;v=10*[0] for i in range(input()): for h in str(i):k=int(h …
rici's user avatar
  • 691