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

#zn01aH Nimrod 46 days ago
Compilation error
  1. fdsafsaf
  2. sdfsdf
  3. s asdf
  4. dsa
#oGu5ha Nimrod 46 days ago
Compilation error
  1. fdsafsaf
#VqBOcY Nimrod 46 days ago
Compilation error
  1. fdsafsaf
#cS93ed Nimrod 46 days ago
Compilation error
  1. fdsafsaf
#hDvALa Nimrod 48 days ago
Compilation error
  1. class Sample(object):
  2. def __init__(self):
  3. self.dict = {"Encrypted/Transferred": 0, "Archived": 0, "Deleted": 0} # Track actual (file action) file counts.
  4.  
#Xj2jZA Nimrod 48 days ago
Compilation error
  1. class ReturnValue(object):
  2. def __init__(self, y0, y1, y2):
  3. self.y0 = y0
  4. self.y1 = y1
  5. self.y2 = y2
  6.  
  7. def g(x):
  8. y0 = x + 1
  9. y1 = x * 3
#BN8PiY Nimrod 49 days ago
Compilation error
  1. #
  2. #
  3. # Nim's Runtime Library
  4. # (c) Copyright 2015 Nim Contributors
  5. #
  6. # See the file "copying.txt", included in this
  7. # distribution, for details about the copyright.
  8. #
#H3pm2u Nimrod 50 days ago
Compilation error
  1. Inzwischen wurde, warum auch immer, je eine Tafel mit "Durchgang für die Öffentlichkeit verboten!" an den beiden Eingängen der Innenallee hingehängt - aber man muss ja nicht öffentlich hingehen... man ist ja ganz privat dort... Es ist Privatgrund natürlich, und jeder hat das Recht seinen Grund zu schützen, aber wir glauben nicht, dass irgendjemand, wer die Schönheit mal leise bestaunen möchte, dort herausgeschmissen wird. Wir gehen immer noch durch (und verhalten uns ganz unöffentlich dabei).
#GwDNl3 Nimrod 50 days ago
Success
  1. # your code goes here
#pkXOWQ Nimrod 50 days ago
Success
  1. # your code goes here
#TlK5xM Nimrod 52 days ago
Compilation error
  1. proc t(x: int) =
  2. let a = if x == 5: 4
  3. elif x == 7: 3
  4. else: 1
#ljKwVg Nimrod 52 days ago
Compilation 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"
#qO54nH Nimrod 53 days ago
Compilation error
  1.  
  2. type Operand * = object of system.RootObj
  3. opType*: OperandType
  4.  
  5. type RegOperand * = object of Operand
  6. regType*: int
  7.  
  8.  
  9. let reg = 4
#3ausjK Nimrod 54 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"
#rS6wMB Nimrod 54 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"
#J5Quoe Nimrod 54 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"
#Tuaoyz Nimrod 54 days ago
Compilation error
  1. # your code goes here
  2. var
  3. a: int = 10
  4. const
  5. b = 200
  6.  
  7. writeline(b);
#oICXBq Nimrod 55 days ago
Success
  1. # your code goes here
#Ysx09C 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"
#Ou0dQi Nimrod 60 days ago
Compilation error
  1. <?php
  2.  
  3. $start = time();
  4. $checks = 0;
  5.  
  6. for($north = 5; $north <= 8; $north++){
  7. for($east = 1; $east <= 6; $east++){
  8. for($lat = 0; $lat <= 999; $lat++){
  9. for($long = 0; $long <= 999; $long++){
#QP9kFv Nimrod 60 days ago
Compilation error
  1. <?php
  2.  
  3. $start = time();
  4. $checks = 0;
  5.  
  6. for($north = 5; $north <= 8; $north++){
  7. for($east = 1; $east <= 6; $east++){
  8. for($lat = 0; $lat <= 999; $lat++){
  9. for($long = 0; $long <= 999; $long++){
#kE8mW2 Nimrod 61 days ago
Success
  1. var a = ""
#UDX81e Nimrod 63 days ago
Compilation error
  1. type
  2. Person = object
  3. name: string
  4. age: int
  5.  
  6. proc newPerson(name:string, age=0): Person =
  7. result.name = name
  8. result.age = age
#SjmCQR Nimrod 65 days ago
Success
  1. # your code goes here
#AQjTGm Nimrod 66 days ago
Runtime error
  1. import strutils, math
  2.  
  3. randomize()
  4. var answer = random(10) + 1
  5. while true:
  6. echo "I have a number from 1 to 10, what is it? "
  7. var guess = parseInt(stdin.readLine)
  8.  
  9. if guess < answer:
#uq80Nb Nimrod 67 days ago
Compilation error
  1. <?php
  2.  
  3. $start = time();
  4. $checks = 0;
  5.  
  6. for($north = 5; $north <= 8; $north++){
  7. for($east = 1; $east <= 6; $east++){
  8. for($lat = 0; $lat <= 999; $lat++){
  9. for($long = 0; $long <= 999; $long++){
#jl84sJ 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"
#nHHKnW 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"
#L3sDBo Nimrod 76 days ago
Compilation error
  1. .data
  2. .application
  3. (input A+B)[]create
  4. (if(A=B^2))
  5. .
  6. .9 )
  7. )
  8. Remove (B^2) Double A : object B
  9. sync loop A/B
#gebmLW Nimrod 76 days ago
Compilation error
  1. 142 class id(eone>)
  2. primary T1 skt Gnar(t.w.2.3.)