Recent public codes are listed below. You can filter them by the following programming languages:
- view
- All
- Ada
- Assembler
- Assembler
- AWK (gawk)
- AWK (mawk)
- Bash
- bc
- Brainf**k
- C
- C#
- C++
- C++0x
- C99 strict
- CLIPS
- Clojure
- COBOL
- COBOL 85
- Common Lisp (clisp)
- D (dmd)
- Erlang
- F#
- Factor
- Falcon
- Forth
- Fortran
- Go
- Groovy
- Haskell
- Icon
- Intercal
- Java
- Java7
- JavaScript (rhino)
- JavaScript (spidermonkey)
- Lua
- Nemerle
- Nice
- Nimrod
- Objective-C
- Ocaml
- Oz
- Pascal (fpc)
- Pascal (gpc)
- Perl
- Perl 6
- PHP
- Pike
- Prolog (gnu)
- Prolog (swi)
- Python
- Python 3
- R
- Ruby
- Scala
- Scheme (guile)
- Smalltalk
- SQL
- Tcl
- Text
- Unlambda
- VB.NET
- Whitespace
-
1
print "shit"
-
1
print shitfaced larry
-
1 2 3 4 5
def test(name): while(True): print name; test("dog")
-
1 2 3 4 5
def test(name): while(true): print name; test("dog")
-
1 2 3 4
def test(name): print "hello " + name test("dog")
-
1 2
word = 'assume' print word
-
1 2 3 4 5 6 7 8 9
def acha_posicao(carac,lab): for i in range(len(lab)): for j in range(len(lab[0])): if lab[i][j] == carac: return (i,j) def mov_inim(lin,col,c_l,c_c,lab): lab[lin][col] = ' ' lab[lin + c_l][col + c_c] = 'X' for lin in lab:
...
-
1 2 3 4
def test(): print "hello world" test()
-
1
print "Hello world"
-
1 2 3 4 5 6 7 8 9
import math def isPrime(num): # Check if a given number is a prime # Using divison trial method square = math.sqrt(num) # The square root is the ceiling of divisible numbers divisor = 2 # Increments by one until it hits the square root if num == 1: return False while divisor <= square: if num % divisor == 0: # If theres no remainer than the number is not a prime
...
-
1 2 3 4 5 6 7 8 9
while True: try: #print('Please enter a number') # input = int(raw_input()) except ValueError: #print('Error: only numbers are accepted') continue if input == 42: break
...
-
1 2 3 4
while True: input = int(raw_input()) if input == 42: break
-
1 2 3
print "%s %20s" % ("fooo", "20") print "%s %20s" % ("fo", "220") print "%s %20s" % ("qewrwor", "0")
-
1
print "Hello World!"
-
1
-
1 2 3 4 5 6 7 8 9
def eh_quadrado_magico(quadrado): if len(quadrado[0]) != len(quadrado): return False verifica = [] for a in range(len(quadrado)): verifica += quadrado[a] if len(verifica) != set(verifica): return False
...
-
1 2
import random print random.randrange(1,100)
-
1 2
import random print random.randrange(1,226,1)
-
1 2
import random print random.random(1,100,1)
-
1 2
import random print random.random(1,100)
-
1 2 3 4 5 6 7 8 9
def move_inimigo(labirinto): pegou = False def acha_posicao(jogador , labirinto): posicao = 0,0 for i in range(len(labirinto)): for j in range(len(labirinto[i])): if labirinto[i][j] == jogador: posicao = i, j return posicao
...
-
1
print "Hello world"
-
1 2 3 4 5 6 7 8
#### The function removes the word prefix until the first "[" def ignore_prefix(data): if data.count("[") >= 1: return eval(data[data.index("["):]) else: print "the data in each line should start with [" exit()
...
-
1 2
x = 3 print(str(x) + "hello")
-
1 2 3 4 5 6
import math t = int(raw_input()) for i in xrange(t): n = int(raw_input()) print str(math.factorial(n))
-
1 2 3 4 5 6 7 8 9
def subset_sum_recursive(numbers,target,partial): s = sum(partial) #check if the partial sum is equals to target if s == target: if 9 in partial: if 18 in partial: if len(partial) == 6: print "sum(%s)=%s"%(partial,target)
...
-
1 2 3
barGay = {"polla","nabo","rabo","picha","minga","carajo","cipote","verga","chorizo","salchichon","cilindrin"} for i in barGay: print "Hola guapo, quieres ver mi "+i+"?"
-
1 2 3 4 5 6 7 8 9
def subset_sum_recursive(numbers,target,partial): s = sum(partial) #check if the partial sum is equals to target if s == target: if 9 in partial: if 18 in partial: if len(partial) == 8: print "sum(%s)=%s"%(partial,target)
...
-
1 2 3 4 5 6 7 8 9
def subset_sum_recursive(numbers,target,partial): s = sum(partial) #check if the partial sum is equals to target if s == target: if 9 in partial: if 18 in partial: if len(partial) == 8: print "sum(%s)=%s"%(partial,target)
...
-
1 2 3
barGay = {"polla","nabo","rabo","picha","minga","carajo","cipote"} for i in barGay: print "Hola guapo, quieres ver mi "+i+"?"


