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 14509

This tag denotes challenges where parsing input is a large / the main part of the challenge.

0 votes

Line up the CSV

Python 2.7 - 242 bytes bleh import os c=[r.split(',')for r in os.read(0,99).split('\n')] k=sorted(list(set(sum([[s.split('=')[0]for s in r]for r in c],[])))) print','.join(k) for l in c: t=[''for i i …
undergroundmonorail's user avatar
6 votes

Brainf*ckish directions

Python 2.7 - 154 147 134 128 bytes l=r=p=0 exec"exec raw_input('%s->','p+=r+1;r=0%s<-','p-=l+1;l=0%s>','r+=1;p+=1%s<','l+=1;p-=1;')"%((";').replace('",)*4) print p Serious changes have been made to …
undergroundmonorail's user avatar
14 votes

Remove all occurrences of the first letter of a string from the entire string

brainfuck, 219 bytes +[+[>+<+<]>],[<+<+>>-]>[<<[->]>[<]>-]++++[<++++++++>-]<<[[-]----[>-<----]>-<<[>+>+<<-]<,[[>+>>>+>>+>+<<<<<<<-]>>[<<+>>-]<<[>->+<<-]>[[-]+<]>[>]<<[>>+<<-]>>[<-<+>>-]<[[-]+>]>>[<]< …
undergroundmonorail's user avatar
0 votes

Implement an integer parser

Python 2.7 - 102 bytes def p(n): a,r,l=0,range(10),list(n);d=dict(zip(map(str,r),r)) while l:a*=10;a+=d[l.pop(0)] return a I believe this is valid, but I'm not 100% sure about rule 3. Creates a …
undergroundmonorail's user avatar