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

#zCtcEj Java7 1 day ago
Success
  1.  
  2.  
  3. /*import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;*/
  6.  
  7. class aditya{
  8. public static void main(String[] args)
  9. {
#ShWLum Java7 1 day ago
Success
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. class aditya{
  8. public static void main(String[] args)
  9. {
#k39KY2 Java7 1 day ago
Compilation error
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. class aditya{
  8. public static void main(string[] args)
  9. {
#Mmjqdf Java7 1 day ago
Compilation error
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. class aditya{
  8. public static void main(string[] args)
  9. {
#8aFcoy Java7 1 day ago
Compilation error
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. /* Name of the class has to be "Main" only if the class is public. */
  8. class Ideone
  9. {
#AoKKz7 Java7 1 day ago
Runtime error
  1.  
  2. import java.io.BufferedReader;
  3. import java.io.InputStreamReader;
  4. import java.util.ArrayList;
  5.  
  6. /**
  7.  *
  8.  * @author dmitre
  9.  */
#ydkbc7 Java7 1 day ago
Success
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. /* Name of the class has to be "Main" only if the class is public. */
  8. class Ideone
  9. {
#z943iK Java7 1 day ago
Compilation error
  1. import javax.swing.JOptionPane;1
  2. public class DialogApp
  3. {
  4. public static void main(String[] args)
  5. {
  6. String s;
  7. s = JOptionPane.showInputDialog7
  8. ("Enter an integer:");8
  9. int x = Integer.parseInt(s);9
#zn9JrP Java7 1 day ago
Runtime error
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6. import java.math.BigDecimal;
  7.  
  8. /* Name of the class has to be "Main" only if the class is public. */
  9. class Ideone
#kw2OQe Java7 1 day ago
Compilation error
  1. /* package whatever; // don't place package name! */
  2. import static org.apache.commons.lang.StringEscapeUtils.unescapeHtml;
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. /* Name of the class has to be "Main" only if the class is public. */
  8. class Ideone
  9. {
#KmZoUc Java7 1 day ago
Compilation error
  1. public class Manojfirstapp {
  2. public static void main (String[] args)
  3. {
  4. Sachin s = new Sachin();
  5. s.sachinscore();
  6. }
  7. public class Sachin {
  8. public void sachinscore()
  9. {
#ysd9DB Java7 1 day ago
Success
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. /* Name of the class has to be "Main" only if the class is public. */
  8. class Ideone
  9. {
#eka5sP Java7 1 day ago
Success
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. /* Name of the class has to be "Main" only if the class is public. */
  8. class Ideone
  9. {
#2gCJDv Java7 1 day ago
Success
  1. class Demo
  2. {
  3. public static void main(String[] args)
  4. {
  5. System.out.println("hello");
  6. }
  7. }
#DvPctu Java7 1 day ago
Success
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. /* Name of the class has to be "Main" only if the class is public. */
  8. class Ideone
  9. {
#HRdHwK Java7 1 day ago
Compilation error
  1. class Demo
  2. {
  3. public static void main(String... s)
  4. {
  5. System.out.println("zyani madarchod");
  6. }}
#uaibzN Java7 1 day ago
Success
  1. import java.io.*;
  2. import java.util.*;
  3. import java.math.*;
  4. class dcepc203
  5. {
  6. static boolean isprime(long n){
  7. long arr[]={2,3,5,7,11,13,17},j;
  8. int i;
  9. for(i=0;i<arr.length;i++)if(n==arr[i])return true;
#O2dEkv Java7 1 day ago
Success
  1. import java.util.Scanner;
  2. class Ideone
  3. {
  4. public static void main(String a[])
  5. {
  6. Scanner c = new Scanner(System.in);
  7. int n=c.nextInt();
  8. int i,j=0;
  9. String[] s={
#AYcCjf Java7 1 day ago
Success
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. /* Name of the class has to be "Main" only if the class is public. */
  8. class Ideone
  9. {
#LwBXxe Java7 1 day ago
Runtime error
  1. import java.util.Scanner;
  2. class Ideone
  3. {
  4. public static void main(String a[])
  5. {
  6. Scanner c = new Scanner(System.in);
  7. int n=c.nextInt();
  8. int i,j=0;
  9. String[] s={
#U7a1Jz Java7 1 day ago
Success
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. /* Name of the class has to be "Main" only if the class is public. */
  8. import java.util.*;
#to8EhN Java7 1 day ago
Success
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. /* Name of the class has to be "Main" only if the class is public. */
  8. class Ideone
  9. {
#W4XA4c Java7 1 day ago
Compilation error
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. /* Name of the class has to be "Main" only if the class is public. */
  8. class Ideone
  9. {
#ecLEyR Java7 1 day ago
Success
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. /* Name of the class has to be "Main" only if the class is public. */
  8. class Ideone
  9. {
#t0QndH Java7 1 day ago
Time limit exceeded
  1. import java.util.*;
  2. import java.lang.*;
  3. class TestCallRun2 extends Thread{
  4. public void run(){
  5. for(int i=1;i<5;i++){
  6. try{Thread.sleep(1500);}catch(InterruptedException e){System.out.println(e);}
  7. System.out.println(i + Thread.currentThread().getName());
  8. }
  9. }
#nEpZA5 Java7 1 day ago
Success
  1. import java.io.*;
  2. import java.util.Scanner;
  3. import java.lang.Math;
  4.  
  5. class Solution {
  6. static char[] Answer;
  7.  
  8. public static void main(String[] args) throws IOException {
  9. // TODO Auto-generated method stub
#vTj4Fc Java7 1 day ago
Success
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. /* Name of the class has to be "Main" only if the class is public. */
  8. class Ideone
  9. {
#BGDhHn Java7 1 day ago
Compilation error
  1. import java.util.*;
  2. import javax.mail.*;
  3. import javax.mail.internet.*;
  4. import javax.activation.*;
  5.  
  6. public class SendEmail
  7. {
  8. public static void main(String [] args)
  9. {
#pDtRS3 Java7 1 day ago
Compilation error
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. /* Name of the class has to be "Main" only if the class is public. */
  8. class Ideone
  9. {
#vitFuL Java7 1 day ago
Compilation error
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6. import java.net.HttpURLConnection;
  7. import java.net.URL;
  8.  
  9. import javax.net.ssl.HttpsURLConnection;