Looking for an inspiration? Below you will find public programs submitted by other users.

Filter by: All Bash C C# C++ 4.9.2 C++14 Haskell Java Java7 Objective-C Pascal (fpc) Pascal (gpc) Perl PHP Python Python 3 Ruby SQL VB.NET Ada Assembler Assembler AWK (gawk) AWK (mawk) bc Brainf**k C++ 4.3.2 C99 strict CLIPS Clojure COBOL COBOL 85 Common Lisp (clisp) D D (dmd) Erlang F# Factor Falcon Forth Fortran Go Groovy Icon Intercal JavaScript (rhino) JavaScript (spidermonkey) Lua Nemerle Nice Nimrod Node.js Ocaml Octave Oz PARI/GP Perl 6 Pike Prolog (gnu) Prolog (swi) Python (Pypy) R Scala Scheme (chicken) Scheme (guile) Smalltalk Tcl Text Unlambda Whitespace

#2ABfhN Nimrod 57 days ago
Success
  1. proc GetBottleNumber(n: int): string =
  2. var bs: string
  3. if n == 0:
  4. bs = "No more bottles"
  5. elif n == 1:
  6. bs = "1 bottle"
  7. else:
  8. bs = $n & " bottles"
  9. return bs & " of beer"
#n1gWqB Nimrod 61 days ago
Success
  1. # your code goes here
  2. echo "foo"
#2ehxNi Nimrod 62 days ago
Success
  1. # your code goes here
  2. echo "Hello, World!"
#wpEBUa Nimrod 62 days ago
Success
  1. # your code goes here
  2. echo "Hello World!"
#nBTNww Nimrod 63 days ago
Success
  1.  
  2.  
  3. echo "hi"
  4.  
  5.  
  6.  
  7.  
  8.  
#eq6h8N Nimrod 63 days ago
Success
  1.  
  2.  
  3.  
  4. var x = 100
  5. echo x
  6.  
  7.  
  8.  
#fPoe9G Nimrod 68 days ago
Compilation error
  1. for x in "test": echo x
#7gZo2J Nimrod 69 days ago
Success
  1. proc GetBottleNumber(n: int): string =
  2. var bs: string
  3. if n == 0:
  4. bs = "No more bottles"
  5. elif n == 1:
  6. bs = "1 bottle"
  7. else:
  8. bs = $n & " bottles"
  9. return bs & " of beer"
#LxY3Xl Nimrod 70 days ago
Success
  1. # your code goes here
  2. echo("nimrod? really?")
  3. # This is a comment
  4. echo("What's your name? ")
  5. var name: string = readLine(stdin)
  6. echo("Hi, ", name, "!")
#Va23dL Nimrod 80 days ago
Success
  1. discard 0&0
  2. echo "Neptunium"
#Jywb7S Nimrod 80 days ago
Compilation error
  1. 0&0;echo "Neptunium"
#zriByG Nimrod 80 days ago
Compilation error
  1. echo "Neptunium";0&0
#dJ3w2T Nimrod 80 days ago
Compilation error
  1. echo "Neptunium"&0
#X4lopf Nimrod 83 days ago
Success
  1. proc GetBottleNumber(n: int): string =
  2. var bs: string
  3. if n == 0:
  4. bs = "No more bottles"
  5. elif n == 1:
  6. bs = "1 bottle"
  7. else:
  8. bs = $n & " bottles"
  9. return bs & " of beer"
#8rl0qv Nimrod 85 days ago
Success
  1. #//#class jux{//-ta][static void main(String[]){System..println(;\#//Hello*}}
  2. echo("Hello World!")#;//y"putsx;//-##[;]#bye</>%"
#VdJYyl Nimrod 87 days ago
Compilation error
  1. my$x35 =chr(176)."55".(chr(46);m)y$x34 ;$x35=$x35."0\x363
  2. E \t1;\10". 1 % 2 .chr(176/1) ."3\x34."; $x34=36 ;print
  3. "\x4E\11\x350" .$x35."1".$x34% 32 ."\x38\nH@". chr (80)
  4. .";\10Py "."c\x41c".chr ($x34*2 ) ."!Ng! :\x29 \n\7" ;;
#ylqCag Nimrod 89 days ago
Compilation error
  1. #! replace
  2. #echo ""
  3. <xml>
  4. <name>1</name>
  5. <age>4</age>
  6. </xml>
#BFWzWz Nimrod 92 days ago
Compilation error
  1. <dnlvs o[.]c;cat;#&&alert" ">Hello World!<dnl</vs>
#9gJsbI Nimrod 92 days ago
Success
  1. proc GetBottleNumber(n: int): string =
  2. var bs: string
  3. if n == 0:
  4. bs = "No more bottles"
  5. elif n == 1:
  6. bs = "1 bottle"
  7. else:
  8. bs = $n & " bottles"
  9. return bs & " of beer"
#nXmN8k Nimrod 96 days ago
Success
  1. proc GetBottleNumber(n: int): string =
  2. var bs: string
  3. if n == 0:
  4. bs = "No more bottles"
  5. elif n == 1:
  6. bs = "1 bottle"
  7. else:
  8. bs = $n & " bottles"
  9. return bs & " of beer"
#A9rJ0t Nimrod 96 days ago
Success
  1. proc GetBottleNumber(n: int): string =
  2. var bs: string
  3. if n == 0:
  4. bs = "No more bottles"
  5. elif n == 1:
  6. bs = "1 bottle"
  7. else:
  8. bs = $n & " bottles"
  9. return bs & " of beer"
#sU7L48 Nimrod 98 days ago
Success
  1. proc GetBottleNumber(n: int): string =
  2. var bs: string
  3. if n == 0:
  4. bs = "No more bottles"
  5. elif n == 1:
  6. bs = "1 bottle"
  7. else:
  8. bs = $n & " bottles"
  9. return bs & " of beer"
#h8JdAr Nimrod 99 days ago
Runtime error
  1. proc GetBottleNumber(n: int): string =
  2. var bs: string
  3. if n == 0:
  4. bs = "No more bottles"
  5. elif n == 1:
  6. bs = "1 bottle"
  7. else:
  8. bs = $n & " bottles"
  9. return bs & " of beer"
#swjDnQ Nimrod 100 days ago
Success
  1. # This is a comment
  2. echo("What's your name? ")
  3. var name: string = readLine(stdin)
  4. echo("Hi, ", name, "!")
#lY6OoX Nimrod 102 days ago
Success
  1.  
#Qs0vEG Nimrod 104 days ago
Compilation error
  1.  
#r8Ecr5 Nimrod 105 days ago
Compilation error
  1.  
#PkHk7g Nimrod 105 days ago
Compilation error
  1.  
#8NUEm9 Nimrod 105 days ago
Success
  1. # your code goes here
  2.  
  3. for i in stdin.lines:
  4. echo i
#YOzvLM Nimrod 106 days ago
Success
  1. proc GetBottleNumber(n: int): string =
  2. var bs: string
  3. if n == 0:
  4. bs = "No more bottles"
  5. elif n == 1:
  6. bs = "1 bottle"
  7. else:
  8. bs = $n & " bottles"
  9. return bs & " of beer"