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

#9ci7OI Java7 1 day ago
Success
  1. import java.util.*;
  2.  
  3. class Dubstep {
  4. public static void main(String[] args) {
  5. Scanner cin = new Scanner(System.in);
  6. java.lang.String t = cin.next();
  7. t = t.replaceAll("WUB", " ");
  8. System.out.println(t);
  9. }
#l0xdpz Java7 1 day ago
Compilation error
  1. import java.util.*;
  2.  
  3. public class Dubstep {
  4. public static void main(String[] args) {
  5. Scanner cin = new Scanner(System.in);
  6. java.lang.String t = cin.next();
  7. t = t.replaceAll("WUB", " ");
  8. System.out.println(t);
  9. }
#5qFEZn 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. {
#P5tu7b Java7 1 day ago
Success
  1. import java.io.*;
  2. import java.util.*;
  3. import java.lang.*;
  4.  
  5. class ZigZag
  6. {
  7. public static int longestZigZag(int[] sequence)
  8. {
  9. int i,j,ans=0,l=sequence.length,flag=1,max=0;
#KkKyeg 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. {
#DYksBW 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. {
#fY1t31 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 Check
  9. {
#4u0M4v 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 Check
  9. {
#w2iA59 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 Check
  9. {
#YWbYOn 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 Check
  9. {
#q2ONai 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 Check
  9. {
#uuOhO9 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. {
#Zml1je 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. {
#mL2ILH 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. {
#ImRGNP 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. {
#xdlVUi 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. {
#Yqg1b5 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 Check
  9. {
#1PWTyp Java7 1 day ago
Compilation error
  1. #include <set>
  2. #include <map>
  3. #include <list>
  4. #include <cmath>
  5. #include <queue>
  6. #include <stack>
  7. #include <cstdio>
  8. #include <string>
  9. #include <vector>
#YSiE3H 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. {
#alIvAy 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. {
#5xkNrR Java7 1 day ago
Compilation error
  1. import comp102x.IO;
  2.  
  3. public class Quiz1 {
  4.  
  5. private int x;
  6.  
  7. public Quiz1(int x) {
  8.  
  9. x = x;
#TmV6D9 Java7 1 day ago
Success
  1. import java.util.*;
  2.  
  3. public class Main {
  4.  
  5. public static void main(String[] args) {
  6. Scanner in = new Scanner(System.in);
  7. int tests = Integer.parseInt(in.nextLine());
  8.  
  9. for(int i = 0; i < tests; i++) {
#40IE5G Java7 1 day ago
Success
  1. import java.util.*;
  2.  
  3. public class Main {
  4.  
  5. public static void main(String[] args) {
  6. Scanner in = new Scanner(System.in);
  7. int tests = Integer.parseInt(in.nextLine());
  8.  
  9. for(int i = 0; i < tests; i++) {
#k8xifj Java7 1 day ago
Success
  1. import java.util.*;
  2.  
  3. public class Main {
  4.  
  5. public static void main(String[] args) {
  6. Scanner in = new Scanner(System.in);
  7. int tests = Integer.parseInt(in.nextLine());
  8.  
  9. for(int i = 0; i < tests; i++) {
#llyf5D Java7 1 day ago
Success
  1. import java.util.*;
  2.  
  3. public class Main {
  4.  
  5. public static void main(String[] args) {
  6. Scanner in = new Scanner(System.in);
  7. int tests = Integer.parseInt(in.nextLine());
  8.  
  9. for(int i = 0; i < tests; i++) {
#iu5Eul Java7 1 day ago
Compilation error
  1. import java.util.*;
  2.  
  3. public class Main {
  4.  
  5. public static void main(String[] args) {
  6. Scanner in = new Scanner(System.in);
  7. int tests = Integer.parseInt(in.nextLine());
  8.  
  9. for(int i = 0; i < tests; i++) {
#iJI5nX Java7 1 day ago
Success
  1. import java.util.*;
  2.  
  3. public class Main {
  4.  
  5. public static void main(String[] args) {
  6. Scanner in = new Scanner(System.in);
  7. int tests = Integer.parseInt(in.nextLine());
  8.  
  9. for(int i = 0; i < tests; i++) {
#fyzFZU Java7 1 day ago
Success
  1. import java.util.Scanner;
  2.  
  3. class room{
  4. public static void main(String[] args){
  5. Scanner s = new Scanner(System.in);
  6.  
  7. double rent = 310.00;
  8. double bond = 1300;
  9. int occupants;
#4R1RZz Java7 1 day ago
Runtime error
  1. import java.util.*;
  2.  
  3. public class Main {
  4.  
  5. public static void main(String[] args) {
  6. Scanner in = new Scanner(System.in);
  7. int tests = Integer.parseInt(in.nextLine());
  8.  
  9. for(int i = 0; i < tests; i++) {
#azhC6E Java7 1 day ago
Compilation error
  1. import java.util.*;
  2.  
  3. public class Main {
  4.  
  5. public static void main(String[] args) {
  6. Scanner in = new Scanner(System.in);
  7. int tests = Integer.parseInt(in.nextLine());
  8.  
  9. for(int i = 0; i < tests; i++) {