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

#Dib3Lj VB.NET 14 days ago
Compilation error
  1. Imports System
  2.  
  3. Public Class Test
  4. Public Shared Sub Main()
  5. dim a as string
  6. a=
  7. End Sub
  8. End Class
#hTk6NA VB.NET 14 days ago
Success
  1. Imports System
  2.  
  3. Public Class Test
  4. Public Shared Sub Main()
  5. dim bln As Boolean
  6. bln = 1 = 2
  7. If 1 = 2 Or 1 = 3 Then
  8. Else : Console.Write(1 = 1)
  9. End If
#Jc8dSp VB.NET 14 days ago
Success
  1. Imports System
  2.  
  3. Public Class Test
  4. Public Shared Sub Main()
  5. Dim i as Int16
  6. i = 0
  7. Do While i < 5
  8. Console.Write(i)
  9. i += 1
#k6DBlZ VB.NET 14 days ago
Compilation error
  1. Module VBModule
  2.  
  3. Sub Main()
  4. Dim clientName As String="NO VALUE"
  5. Dim feetUTP As Double=0
  6. Dim subTotal As Double=0
  7. Dim taxCost As Double=0
  8. Dim totalCost As Double=0
  9. Call inputData(clientName, feetUTP)
#RrpYna VB.NET 14 days ago
Success
  1. Imports System
  2.  
  3. Public Class Test
  4. Public Shared Sub Main()
  5. dim kusai as string = "kusai"& vbNewLine & "ahmad"
  6. dim sarray() as string = kusai.Split(vbNewLine)
  7. Console.WriteLine(sarray(0))
  8. Console.WriteLine(sarray(1))
  9.  
#qY8dwy VB.NET 14 days ago
Compilation error
  1. Imports System
  2.  
  3. Public Class Test
  4. Public Shared Sub Main()
  5. console.print(now)
  6. End Sub
  7. End Class
#y81LTH VB.NET 14 days ago
Compilation error
  1. Public Class Human
  2.  
  3. 'Data Members
  4.  
  5. Private Name As String
  6.  
  7. Private Birthdate As String
  8.  
  9. Private Gender As String
#P4IVfO VB.NET 14 days ago
Success
  1. Imports System
  2.  
  3. Public Class Test
  4. Public Shared Sub Main()
  5. Dim full As String = "a11cd"
  6. Dim withoutSpaces As String = full.Replace(" ", "")
  7. Dim firstHalf As String = withoutSpaces.SubString(0, withoutSpaces.Length - 3)
  8. Console.WriteLine(full)
  9. Console.WriteLine(withoutSpaces)
#MQgw3q VB.NET 14 days ago
Compilation error
  1. require "net/http"
  2. require 'uri'
  3.  
  4.  
  5. password = ""
  6. md5 = ['0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f']
  7. cpt = 0
  8. i = 1
  9. http = Net::HTTP.new('hacking.newbiecontest.org', 10080)
#Ee46PL VB.NET 14 days ago
Compilation error
  1. Imports System
  2.  
  3. Public Class Test
  4. Public Shared Sub Main()
  5. Dim full As String
  6. full = "ab12 3cd"
  7.  
  8. Dim withoutSpaces As String = full.Replace(" ", "")
  9.  
#Hee6S5 VB.NET 14 days ago
Compilation error
  1. require "net/http"
  2. require 'uri'
  3.  
  4.  
  5. password = ""
  6. md5 = ['0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f']
  7. cpt = 0
  8. i = 1
  9. http = Net::HTTP.new('hacking.newbiecontest.org', 10080)
#x4fukN VB.NET 14 days ago
Runtime error
  1. Imports System
  2.  
  3. Public Class Test
  4. Public Shared Sub Main()
  5. Dim A As Integer
  6. Console.Readline(A)
  7. Console.Writeline(A*2)
  8. End Sub
  9. End Class
#UQAA4j VB.NET 14 days ago
Runtime error
  1. Imports System
  2.  
  3. Public Class Test
  4. Public Shared Sub Main()
  5. Dim A As Integer
  6. Console.Readline(A)
  7. Console.Writeline(A*2)
  8. End Sub
  9. End Class
#nhHZ4Z VB.NET 14 days ago
Success
  1. Imports System
  2.  
  3. Public Class Test
  4. Public Shared Sub Main()
  5. Dim mySheet As String
  6. End Sub
  7. End Class
#9QVQY2 VB.NET 14 days ago
Compilation error
  1. Imports System
  2.  
  3. Public Class Test
  4. Public Shared Sub Main()
  5. Dim mySheet As Worksheet
  6. End Sub
  7. End Class
#4nxjEj VB.NET 14 days ago
Success
  1. Module Module1
  2. Sub Main()
  3. Console.WriteLine("Hello")
  4. End Sub
  5. End Module
#6Ucf97 VB.NET 15 days ago
Success
  1. Imports System
  2.  
  3. Public Class Test
  4. Public Shared Sub Main()
  5. ' your code goes here
  6. console.write("test")
  7. End Sub
  8. End Class
#O0AfPz VB.NET 15 days ago
Compilation error
  1. //LeoneLabs.com
  2. //Madrix ColorPicker
  3. //4-30-2013
  4. import java.awt.*;
  5. import java.awt.image.*;
  6. import java.awt.MouseInfo;
  7.  
  8. PImage img;
  9. int x, y;
#SIb8b8 VB.NET 15 days ago
Success
  1. Imports System
  2.  
  3. Public Class Test
  4. Public Shared Sub Main()
  5. For i as Integer = 0 to 10 step 3
  6. Console.Write(i & vbNewLine)
  7. Next i
  8. End Sub
  9. End Class
#qlEnKJ VB.NET 15 days ago
Success
  1. Imports System
  2.  
  3. Public Class Test
  4. Public Shared Sub Main()
  5. Dim strPrintTest as String
  6. strPrintTest = "Hello, World!" & vbLf & ". . .Again!"
  7. Console.WriteLine(strPrintTest)
  8. End Sub
  9. End Class
#ZdYdAv VB.NET 15 days ago
Compilation error
  1. Dim Lng1 As Long
  2. Dim Lng2 As Long
  3. Dim Lng3 As Long
  4.  
  5. Lng1 = 81
  6. Lng2 = 63
  7.  
  8. '数字が大きい方をLng3に格納
  9. If Lng1 > Lng2 Then
#r7GXEC VB.NET 15 days ago
Success
  1. Imports System
  2.  
  3. Public Class Test
  4. Public Shared Sub Main()
  5. Dim arr(9) As Integer
  6. Console.WriteLine(arr.Length)
  7. End Sub
  8. End Class
#4z7avA VB.NET 15 days ago
Success
  1. Imports System
  2.  
  3. Public Class Test
  4. Public Shared Sub Main()
  5. dim a as integer, b as integer, c as integer
  6. a=console.readline'6
  7. b=10
  8. c = Gcd(a,b)
  9. console.writeline(c)
#BOBgZc VB.NET 15 days ago
Runtime error
  1. Imports System
  2.  
  3. Public Class Test
  4. Public Shared Sub Main()
  5. dim a as integer, b as integer, c as integer
  6. a=2
  7. b=3
  8. 'c=Gcd_a(a, b)
  9. c=Add(a,b)
#tF6snZ VB.NET 15 days ago
Success
  1. Imports System
  2.  
  3. Public Class Test
  4. Public Shared Sub Main()
  5.  
  6. Console.write("test")
  7. Dim vari as Integer = Console.read()
  8. Console.write(vari)
  9.  
#ZA8UvZ VB.NET 15 days ago
Compilation error
  1. Imports System
  2.  
  3. Public Class Test
  4. Public Shared Sub Main()
  5. Msgbox "khong la nguyen to"
  6.  
  7. End Sub
  8. End Class
#BdQAEi VB.NET 15 days ago
Compilation error
  1. Imports System
  2.  
  3. ''' <summary>
  4. ''' StatusLight update with USB writes
  5. ''' </summary>
  6. ''' <remarks>
  7. ''' List of variables needed
  8. ''' _isAudioTriggered
  9. ''' _isDecayOfftimerEnabled
#1vhPql VB.NET 16 days ago
Compilation error
  1. In Visual Basic, what is the output from these statements?
  2. on error goto h
  3. if (1 / 0) then
  4. msgbox("3")
  5. else
  6. msgbox("1")
  7. end if
  8. h:
  9. if (typeof err.getexception() is DivideByZeroException) then
#5PvFtA VB.NET 16 days ago
Compilation error
  1. In Visual Basic, what is the output from these statements?
  2. dim t as char
  3. t = "q"c
  4. msgbox(t)
#BuHGh6 VB.NET 16 days ago
Compilation error
  1. In Visual Basic, what is the output from these statements?
  2. on error goto h
  3. if (0 / 1) then
  4. msgbox("3")
  5. else
  6. msgbox("1")
  7. end if
  8. h:
  9. if (typeof err.getexception() is DivideByZeroException) then