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

Filter by: All Bash C C# C++ 4.8.1 C++11 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 (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) R Scala Scheme (guile) Smalltalk Tcl Text Unlambda Whitespace

#8L05yU Nimrod 69 days ago
Compilation error
  1. public class Problem {
  2.  
  3. public static String a()
  4. {
  5. double b=0;
  6. for (double i=1;i<Double.POSITIVE_INFINITY;i++)
  7. {
  8. b+=1/i/i;
  9. }
#pLBz4a Nimrod 70 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"
#i2mAmM Nimrod 70 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"
#h5NVMY Nimrod 72 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"
#SKRemf Nimrod 72 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"
#8OR3vk Nimrod 79 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"
#apn2ql Nimrod 83 days ago
Success
  1. proc GetBottleNumber(n: int): string =
  2.  
  3. var bs: string
  4.  
  5. if n == 0:
  6.  
  7. bs = "No more bottles"
  8.  
  9. elif n == 1:
#f7cogo Nimrod 83 days ago
Compilation error
  1. 1.proc GetBottleNumber(n: int): string =
  2.  
  3. 2. var bs: string
  4.  
  5. 3. if n == 0:
  6.  
  7. 4. bs = "No more bottles"
  8.  
  9. 5. elif n == 1:
#b28BjP Nimrod 83 days ago
Success
  1. type
  2. TRecord = tuple[id: int, name: string, data: ptr char]
  3.  
  4. var empty: TRecord
  5.  
  6. empty = (id: 0, name: "Empty", data: nil)
  7.  
  8. echo(empty.id, empty.name, if empty.data == nil: "nil" else: "data")
#c9Fkw0 Nimrod 83 days ago
Compilation error
  1. type
  2. TRecord = tuple[id: int, name: string, data: ptr char]
  3.  
  4. var empty: TRecord
  5.  
  6. empty = (id: 0, name: "Empty", data: nil)
  7.  
  8. echo(empty.id, empty.name, if empty.data == nil: "nil" else empty.data)
#U4YPXx Nimrod 83 days ago
Compilation error
  1. type
  2. TRecord = tuple[id: int, name: string, data: ptr char]
  3.  
  4. var empty: TRecord
  5.  
  6. empty = (id: 0, name: "Empty", data: nil)
  7.  
  8. echo(empty.id, empty.name, empty.data == nil ? "nil" : empty.data)
#4iPYPe Nimrod 83 days ago
Runtime error
  1. type
  2. TRecord = tuple[id: int, name: string, data: ptr char]
  3.  
  4. var empty: TRecord
  5.  
  6. empty = (id: 0, name: "Empty", data: nil)
  7.  
  8. echo(empty.id, empty.name, empty.data)
#rNMbfF Nimrod 83 days ago
Compilation error
  1. type
  2. TRecord = tuple[id: uint, name: string, data: ptr char]
  3.  
  4. var empty: TRecord
  5.  
  6. empty = (id: 0, name: "Empty", data: nil)
  7.  
  8. echo(empty.id, empty.name, empty.data)
#y62YCe Nimrod 83 days ago
Success
  1. proc foo(bar: string) =
  2. echo("foo", bar)
  3.  
  4. foo("bar")
#jgAVr1 Nimrod 83 days ago
Success
  1. proc foo(bar: string) =
  2. echo(bar)
  3.  
  4. foo("bar")
#RdrDXB Nimrod 83 days ago
Compilation error
  1. proc foo(bar: string): bool =
  2. echo("foo" + bar)
  3. return true
  4.  
  5. foo("bar")
#uIMIyO Nimrod 83 days ago
Compilation error
  1. proc foo(bar: string): bool =
  2. echo("foo" + bar)
  3. return bar == "bar"
  4.  
  5. foo("bar")
#Pm3Yhl Nimrod 83 days ago
Compilation error
  1.  
  2. proc foo(bar: string): bool =
  3. echo("foo" + bar)
  4.  
  5. foo("bar")
#Lj9lbM Nimrod 83 days ago
Compilation error
  1.  
  2. proc foo(bar: string) bool =
  3. echo("foo" + bar)
  4.  
  5. foo("bar")
#Lhtyj1 Nimrod 83 days ago
Compilation error
  1. # your code goes here
  2.  
  3. proc foo(bar: string) bool =
  4. echo("foo" + bar)
  5.  
  6. foo("bar")
#oDgVpz Nimrod 87 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"
#1MVreA 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"
#qEPKGx Nimrod 94 days ago
Compilation error
  1. create table myemployees_0713;
#Pb0qz6 Nimrod 99 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"
#y5A2G4 Nimrod 100 days ago
Compilation error
  1. {kätkö\son\spiilotettu\sLinnainmaalle.\t\t\sfbhfiozönbiou(gseii¤hghioöghi/ejihohnbishgui
  2. \µt/urhjµ\he5jh\t/jdiji\hdo\wfko\lnhjdh/jgiearlhy¤grush=jgirh"hrughr=jgirhiubioayui!huzi
  3. lähellä\skätköä\tsaattaa\sliikkua\sjoitain\sjästejä.\t\n\r\ghry8uatsy\qghsu8sy4vuibsgys8
  4. v\µ5mic\t\83tygn8ux/geuy8!\µc56\$w5ui6nµ\mx\ximtnius4ioyudupihtugi/yh5iidyu\jhgjguiu8hrj
  5. 7fmd\shjk6fk\tufjk6\sfk75mr6kj\s6krdi7,m\sf,i7u\tifu\s,fit\t,f6i\si,tf\sik,\iti,\t,\tg\t
  6. k,ycj6.7y\6x\t,7t\ri,7tf\y7,\u\i.g\of,m\e\w\g.l8q\d\.g8g\h\jmn\c\z+mgrnughyry8&/(ygy(Yg8
  7. Mysteeri\ssaattaa\solla\smonille\shyvin\svaikea,\tmutta...\s/hgeu80UHY(jr5\art34y\gszthj
  8. ,c,cxk,mh,&Kk,,,,,+im\d5rd6m\tbhuis/ujhr8gusdhjk\ihgs5y\65kjhgfdk6j5h\jhstrhkuyjh&/Uighr
  9. Ratkaisu\slöytyy\tetsimällä,\smitenkä\smuutenkaan.\s\t\s\s\t/jhruj9JNUj9hjtj9\hgs4yjhgdf
#fSkPFN Nimrod 102 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"
#u450cm Nimrod 103 days ago
Success
  1. echo("Qual é o seu Nome? ")
  2. var name: string = readLine(stdin)
  3. echo("oi, ", name, ", FODA-SE")
#SQhWCu Nimrod 107 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"
#dWqjel Nimrod 107 days ago
Compilation error
  1. (function (stack, heap, callStack, main, buf) {
  2.  
  3. var WS2JS = (function defaultMethod() {
  4.  
  5. var inputBuffer = "", inputBufferIndex = 0;
  6.  
  7. function getInput() {
  8. if (!inputBuffer || inputBuffer.length <= inputBufferIndex) {
  9. inputBuffer = prompt("");
#ISda34 Nimrod 108 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" ;;