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

#vdmmlj 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. {
#zCIa7b 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. {
#UTBNBY Java7 1 day ago
Success
  1. class detalles{
  2. String ISBN;
  3. String Autor;
  4. String Titulo;
  5. String Editorial;
  6. }
  7.  
  8. class Libro {
  9. public static void main (String []args){
#P64Io2 Java7 1 day ago
Success
  1.  
  2. import java.util.concurrent.TimeUnit;
  3. import java.util.concurrent.atomic.AtomicLong;
  4.  
  5.  
  6. class Ideone {
  7. public static void main(String[] args) {
  8. final int n = 100;
  9. final int k = 100000;
#fCv9mS 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 Test
  9. {
#SUiKh0 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. {
#ei5P9k 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. {
#ouvmoN Java7 1 day ago
Success
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.io.*;
  4.  
  5. /* Name of the class has to be "Main" only if the class is public. */
  6. class Ideone
  7. {
  8. public static void main (String[] args) throws java.lang.Exception
  9. {
#sZDWgK 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. {
#cFT2A7 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. public class HelloWorld{
#WkWhzX Java7 1 day ago
Success
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4.  
  5. /* Name of the class has to be "Main" only if the class is public. */
  6. class Ideone{
  7. public static int auSort (int min, int max){
  8. return (int) (Math.random()*(max-min+1)+min);
  9. }
#XIE5s0 Java7 1 day ago
Success
  1. import java.util.Scanner;
  2. class Main{
  3. public static void main(String args[]){
  4. Scanner s = new Scanner(System.in);
  5. int t = s.nextInt();
  6. int n = 0;
  7. for(int i = 1; i<=t; i++){
  8. n = s.nextInt();
  9. if(("" + n).length() == 1) System.out.println(n);
#n1iaVz 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. {
#rQW7ON 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. {
#yjNRBm Java7 1 day ago
Runtime error
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.io.*;
  4.  
  5. /* Name of the class has to be "Main" only if the class is public. */
  6. class Ideone
  7. {
  8. public static void main (String[] args) throws java.lang.Exception
  9. {
#hwQ9Kv Java7 1 day ago
Success
  1. import java.util.Scanner;
  2. class Main{
  3. public static void main(String args[]){
  4. Scanner s = new Scanner(System.in);
  5. int t = s.nextInt();
  6. int n = 0;
  7. for(int i = 1; i<=t; i++){
  8. n = s.nextInt();
  9. if(n == 1) System.out.println("1");
#NOhTV2 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.  
  9. class GenericClass<T,U>
#quEaDp Java7 1 day ago
Success
  1. import java.util.Scanner;
  2. class Main{
  3. public static void main(String args[]){
  4. Scanner s = new Scanner(System.in);
  5. int t = s.nextInt();
  6. int n = 0;
  7. for(int i = 1; i<=t; i++){
  8. n = s.nextInt();
  9. if(n == 1) System.out.println("1");
#Ye3EtE Java7 1 day ago
Success
  1. import java.util.Random;
  2.  
  3.  
  4. class hashTable {
  5. Record[] table;
  6. int size;
  7. int a1, a2;
  8.  
  9. hashTable(int size)
#RMiwFS 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.text.ParseException;
  7. import java.text.SimpleDateFormat;
  8. import java.util.logging.Level;
  9. import java.util.logging.Logger;
#ErlGM5 Java7 1 day ago
Success
  1. import java.util.*;
  2. import java.io.*;
  3. class test
  4. {
  5. public static void main(String[] args) throws IOException
  6. {
  7.  
#CNKhN8 Java7 1 day ago
Compilation error
  1. import java.util.*;
  2. import java.io.*;
  3. class test
  4. {
  5. public static void main(String[] args) throws IOException
  6. {
  7.  
#qDItt6 Java7 1 day ago
Compilation error
  1. import java.util.*;
  2. import java.io.*;
  3. class test
  4. {
  5. public static void main(String[] args) throws IOException
  6. {
  7.  
#E8aWfF Java7 1 day ago
Compilation error
  1. import java.util.*;
  2. import java.io.*;
  3. class test
  4. {
  5. public static void main(String[] args) throws IOException
  6. {
  7.  
#U4LKTw 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. {
#xTDFoh Java7 1 day ago
Success
  1. import java.util.*;
  2. import java.io.*;
  3. class test
  4. {
  5. public static void main(String[] args) throws IOException
  6. {
  7.  
#48y9Iy Java7 1 day ago
Success
  1. import java.util.*;
  2. import java.io.*;
  3. class test
  4. {
  5. public static void main(String[] args) throws IOException
  6. {
  7.  
#OEgGka Java7 1 day ago
Runtime error
  1. import java.util.*;
  2. import java.io.*;
  3. class test
  4. {
  5. public static void main(String[] args) throws IOException
  6. {
  7.  
#3hJRdn 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.  
  7. /* Name of the class has to be "Main" only if the class is public. */
  8. class Ideone
  9. {
#9c5Ikm Java7 1 day ago
Runtime error
  1. import javax.swing.JOptionPane;
  2.  
  3. class Identificador{
  4. String RFC;
  5. Trabajador data;
  6. }
  7.  
  8. class Trabajador{
  9. String nombre;