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 2248

Imposes a restriction on the source code used to solve the challenge, for example, having no numbers in the source code.

1 vote

Hello World 0.0!

Python 272 chars s=ord('O') a=len('0') b=a+a c=b+a d=c+a e=d+a f=e+a g=f+a h=g+a print chr(s-g)+chr(s+g*c+a)+chr(s+g*d+a)+chr(s+g*d+a)+chr(s+h*d)+chr(s-h*f+a)+chr(s+h)+chr(s+h*d)+chr(s+g*e)+chr(s+g*d …
elssar's user avatar
  • 599
4 votes

Divide a number by 3 without using *, /, +, -, % operators

Python2.6 (29)(71)(57)(52)(43) z=len(range(2,abs(x),3)) print (z,-z)[x<0] print len(range(2,input(),3)) Edit - Just realized that we have to handle negative integers too. Will fix that later …
elssar's user avatar
  • 599