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

#37mTIE Java7 22 hours ago
Compilation error
  1. /*write code here*/
#jfi8U7 Java7 22 hours ago
Compilation error
  1. /*write code here*/
#UYrUAU Java7 22 hours ago
Success
  1. interface InterfaceComponent {
  2. void doOperation();
  3. }
  4.  
  5. class MainComponent implements InterfaceComponent {
  6.  
  7. @Override
  8. public void doOperation() {
  9. System.out.print("World!");
#lVJ2C8 Java7 22 hours ago
Success
  1. interface InterfaceComponent {
  2. void doOperation();
  3. }
  4.  
  5. class MainComponent implements InterfaceComponent {
  6.  
  7. @Override
  8. public void doOperation() {
  9. System.out.print("World!");
#G7fwv8 Java7 22 hours ago
Success
  1. class MyJavaClass {
  2. public static void main(String[] args) {
  3. System.out.println("Test Running from another java class tesing programming question");
  4. }
  5. }
  6.  
#4JJCsY Java7 22 hours ago
Success
  1. class MyJavaClass {
  2. public static void main(String[] args) {
  3. System.out.println("Test Running from another java class tesing programming question");
  4. }
  5. }
  6.  
#c3SFHM Java7 22 hours ago
Success
  1. class MyJavaClass {
  2. public static void main(String[] args) {
  3. System.out.println("Test Running from another java class tesing programming question");
  4. }
  5. }
  6.  
#A8zrgL Java7 22 hours ago
Success
  1. class MyJavaClass {
  2. public static void main(String[] args) {
  3. System.out.println("Test Running from another java class tesing programming question");
  4. }
  5. }
  6.  
#pFY5fe Java7 22 hours 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 X {
  8. double value;
  9.  
#29vsSQ Java7 23 hours 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. {
#6f2vmv Java7 23 hours ago
Success
  1. import java.util.*;
  2. import java.lang.reflect.*;
  3.  
  4. /* Name of the class has to be "Main" only if the class is public. */
  5. class Main {
  6. public static void main(String[] args)
  7. String className = "java.lang.reflect.Method";
  8. String methodName = "getName";
#8Ym3Qw Java7 21 hours 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. {
#McNjMX Java7 23 hours ago
Runtime error
  1. import java.util.*;
  2.  
  3. public class Main {
  4.  
  5. @SuppressWarnings("rawtypes")
  6. public static void main(String args[]) {
  7. Scanner in = new Scanner(System.in);
  8. int n = in.nextInt();
  9. int i;
#c2HF80 Java7 22 hours 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. {
#8ZTRmZ Java7 23 hours 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.  
  7. /* Name of the class has to be "Main" only if the class is public. */
  8. class Ideone
  9. {
#d9bph7 Java7 23 hours 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. {
#GHMfhV Java7 20 hours 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 ProstyPortalGra {
  8. public static void main(String[] args) {
  9. int iloscRuchow = 0;
#wLYQPP Java7 23 hours 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.  
  7. /* Name of the class has to be "Main" only if the class is public. */
  8. class Ideone
  9. {
#zvMdRX 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. {
#kJh7aC Java7 1 day ago
Compilation error
  1. /* package whatever; // don't place package name! */
  2. import java.util.Random;
  3. import java.util.concurrent.ForkJoinPool;
  4. import java.util.concurrent.RecursiveTask;
  5.  
  6. public class MaximumFinder extends RecursiveTask<Integer> {
  7.  
  8. private static final int SEQUENTIAL_THRESHOLD = 5;
  9.  
#HnSqxl Java7 1 day ago
Compilation error
  1. /**
  2.  * dwt53.c - Fast discrete biorthogonal CDF 5/3 wavelet forward and inverse transform (lifting implementation)
  3.  *
  4.  * This code is provided "as is" and is given for educational purposes.
  5.  * 2007 - Gregoire Pau - gregoire.pau@ebi.ac.uk
  6.  */
  7.  
  8. #include <stdio.h>
  9. #include <stdlib.h>
#LesgEc 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. {
#5kt7YH 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. {
#03ipu7 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. {
#GDRIre Java7 1 day ago
Success
  1. /*
  2. * 본 코드는 생활코딩 Java 수업을 위해서 만들어진 코드입니다.
  3. * http://o...content-available-to-author-only...s.org/module/516
  4. * 누구든지 이 코드를 이용해서 원하는데로 사용할 수 있습니다. (public domain)
  5. * 본 코드는 아래 수업에서 활용되고 있습니다.
  6. * 실제 수업의 내용과 ideone.com의 코드는 다를 수 있습니다.
  7. * ideone.com 플랫폼의 특성 때문입니다.
  8. */
  9.  
#HCeLli 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. {
#mtLtaC 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. {
#nDjAco Java7 1 day ago
Compilation error
  1. /* package whatever; // don't place package name! */
  2. import java.util.Random;
  3. import java.util.concurrent.ForkJoinPool;
  4. import java.util.concurrent.RecursiveTask;
  5.  
  6. public class MaximumFinder extends RecursiveTask<Integer> {
  7.  
  8. private static final int SEQUENTIAL_THRESHOLD = 5;
  9.  
#MauN6T 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. {
#aUTlA9 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. {