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

#gDP3T3 Nimrod 60 days ago
Compilation error
  1. # your code goes here
  2.  
  3. proc changeString(s: var string) =
  4. s = "WTF"
  5.  
  6. proc doStuff(s: string) =
  7. echo s
  8.  
  9. proc main() =
#trKPSg Nimrod 60 days ago
Compilation error
  1. # your code goes here
  2.  
  3. proc changeString(s: var string) =
  4. s = "WTF"
  5.  
  6. proc doStuff(s: string) =
  7. echo s
  8. changeString(s)
  9.  
#hX50Js Nimrod 60 days ago
Compilation error
  1. # your code goes here
  2.  
  3. proc doStuff(s: string) =
  4. echo s
  5. s = "WTF"
  6.  
  7. proc main() =
  8. var s1 = "Test"
  9. doStuff(s1)
#jDMGTh Nimrod 60 days ago
Success
  1. # your code goes here
  2.  
  3. proc doStuff(s: string) =
  4. echo s
  5.  
  6. proc main() =
  7. var s1 = "Test"
  8. doStuff(s1)
#LtOxQF Nimrod 60 days ago
Compilation error
  1. # your code goes here
  2.  
  3. proc doStuff(s: string) =
  4. echo s
  5.  
  6. var s1 = "Test"
  7. doStuff(t1)
#VLikXU Nimrod 60 days ago
Compilation error
  1. # your code goes here
  2.  
  3. type
  4. Test = object
  5. name*: string
  6.  
  7. proc doStuff(t: Test) =
  8. echo t.name
  9.  
#szW4TB Nimrod 60 days ago
Compilation error
  1. # your code goes here
  2.  
  3. type
  4. Test = object
  5. name*: string
  6.  
  7. proc doStuff(t: Test) =
  8. echo t.name
  9.  
#Rx3Ujc Nimrod 60 days ago
Compilation error
  1. # your code goes here
  2.  
  3. type
  4. Test = object
  5. name*: string
  6.  
  7. proc doStuff(t: Test) =
  8. echo t.name
  9.  
#GJ5Srv Nimrod 60 days ago
Compilation error
  1. # your code goes here
  2.  
  3. type
  4. Test = object
  5. name*: string
  6.  
  7. proc doStuff(t: Test) =
  8. echo t.name
  9.  
#jmnQmh Nimrod 60 days ago
Compilation error
  1. # your code goes here
  2.  
  3. type
  4. Test = object
  5. name*: string
  6.  
  7. proc doStuff(t: Test) =
  8. echo t.name
  9.  
#DMe8vE Nimrod 60 days ago
Compilation error
  1. # your code goes here
  2.  
  3. type
  4. Test = object
  5. name*: string
  6.  
  7. proc doStuff(t: Test) =
  8. echo t.name
  9.  
#4pRzTm Nimrod 60 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"
#sXsHcu Nimrod 61 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
#xzX0ua Nimrod 61 days ago
Compilation error
  1. {kätkö on piilotettu Linnainmaalle. fbhfiozönbiou(gseii¤hghioöghi/ejihohnbishgui
  2. \µt/urhjµ\he5jh /jdiji\hdo\wfko\lnhjdh/jgiearlhy¤grush=jgirh"hrughr=jgirhiubioayui!huzi
  3. lähellä kätköä saattaa liikkua joitain jästejä.
  4. \r\ghry8uatsy\qghsu8sy4vuibsgys8
  5. v\µ5mic \83tygn8ux/geuy8!\µc56\$w5ui6nµ\mx\ximtnius4ioyudupihtugi/yh5iidyu\jhgjguiu8hrj
  6. 7fmd hjk6fk ufjk6 fk75mr6kj 6krdi7,m f,i7u ifu ,fit ,f6i i,tf ik,\iti, , g
  7. k,ycj6.7y\6x ,7t\ri,7tf\y7,\u\i.g\of,m\e\w\g.l8q\d\.g8g\h\jmn\c\z+mgrnughyry8&/(ygy(Yg8
  8. Mysteeri saattaa olla monille hyvin vaikea, mutta... /hgeu80UHY(jr5\art34y\gszthj
  9. ,c,cxk,mh,&Kk,,,,,+im\d5rd6m bhuis/ujhr8gusdhjk\ihgs5y\65kjhgfdk6j5h\jhstrhkuyjh&/Uighr
#mwAr06 Nimrod 61 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"
#yJG4wO Nimrod 61 days ago
Compilation error
  1. # your code goes here
  2.  
  3. ('&$:^"!~54Xzyxw.Rtsrqp-&Jlk"!Egfedbaw=_::88punm3q10.POe+*ut`%G]FEZ~k|@>-ww*ttsq654n1l0/.-+G@d(&%%:9]!Z|{9zy6/StPP*MMon+IH(!EgB
  4.  
#EaoavQ Nimrod 62 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"
#obvGeZ Nimrod 62 days ago
Success
  1. # your code goes here
  2.  
  3. echo "hej"
#m2HHsK Nimrod 63 days ago
Compilation error
  1. #include <iostream>
  2.  
  3. int main () {
  4. bool b = true;
  5. std::cout << std::boolalpha << b << '\n';
  6. std::cout << std::noboolalpha << b << '\n';
  7. return 0;
  8. }
#ct5hdZ Nimrod 65 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"
#cbszM1 Nimrod 66 days ago
Success
  1. # your code goes here
#GyW5zr Nimrod 66 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"
#qOjUgL Nimrod 66 days ago
Success
  1. proc hi() =
  2. echo "Hello, World!"
  3.  
  4. hi()
#RWjmPl Nimrod 66 days ago
Runtime error
  1. while true:
  2. echo "Hello, World!"
#WGLkJS Nimrod 67 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"
#LDk6sq Nimrod 67 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"
#xnJpxC Nimrod 68 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"
#EAzUKs Nimrod 70 days ago
Success
  1. echo "YOLO"
#ETNfU1 Nimrod 72 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"
#CWbn4P 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"