Looking for an inspiration? Below you will find public programs submitted by other users.

Filter by: Bash C C# C++ 5.1 C++14 Haskell Java Java7 Objective-C Pascal (fpc) Pascal (gpc) Perl PHP Python Python 3 Ruby SQL VB.NET more...

#hrqU9s PHP 0 seconds ago
Running
  1. <?php
  2. /*
  3.   Bubble Babble Binary Data Encoding - PHP5 Library
  4.   See http://b...content-available-to-author-only...z.net/archives/web/Bubble_Babble.html for details.
  5.   Copyright 2011 BohwaZ - http://b...content-available-to-author-only...z.net/
  6.   This program is free software: you can redistribute it and/or modify
  7.   it under the terms of the GNU Lesser General Public License as published by
  8.   the Free Software Foundation, either version 3 of the License, or
  9.   any later version.
#TI4WCZ C# 6 seconds ago
Compilation error
  1. #include <stdio.h>
  2.  
  3. int
  4. main (void)
  5. {
  6. printf ("Hello, World!\n");
  7. getchar ();
  8. return 0;
  9. }
#ogfJl4 C# 13 seconds ago
Success
  1. using System;
  2. using System.Text;
  3.  
  4. namespace PrintAsciiTable
  5. {
  6. class PrintAsciiTable
  7. {
  8. static void Main(string[] args)
  9. {
#766v9i C++ 38 seconds ago
Success
  1. #include <iostream>
  2. using namespace std;
  3. int main()
  4. {
  5.  
  6.  
  7.  
  8. int** a; //a - вказівник на масив вказівників
  9. a = new int*[2]; //виділення пам’яті для масиву вказівників на n рядків
#L9wT5p Java 39 seconds ago
Compilation error
/* package whatever; // don't place package name! */ import java.util.*; import java.lang.*; import java.io.*; /* Name of the class has to be "Main" only if the class is public. */ class Ideone {
#yqUTbv Java 47 seconds ago
Compilation error
  1. using System;
  2. using System.Text;
  3.  
  4. namespace PrintAsciiTable
  5. {
  6. class PrintAsciiTable
  7. {
  8. static void Main(string[] args)
  9. {
#9DrICJ C 52 seconds ago
Success
  1. #include <stdio.h>
  2.  
  3. int main(void)
  4. {
  5. char StudentName[100];
  6. float ExamValue, Sum, Avg;
  7. int students, exams;
  8. char stop;
#kx0a5D Java 55 seconds ago
Compilation error
  1. #include <stdio.h>
  2.  
  3. int
  4. main (void)
  5. {
  6. printf ("Hello, World!\n");
  7. getchar ();
  8. return 0;
  9. }
#e6nlet Java 56 seconds ago
Success
/* package whatever; // don't place package name! */ import java.util.*; import java.lang.*; import java.io.*; /* Name of the class has to be "Main" only if the class is public. */ class Ideone {
#ybuZbK C 38 seconds ago
Success
  1. #include <stdio.h>
  2. int main () {
  3.  
  4. int xryu, xken, ryu, ken, N_digitado, acumulo_positivo, acumulo_negativo, golpe_anterior, golpe_atual, acumulo_perfeito, acumulo_triangular, i_ambas,comparadora, acumuladora2;
  5. acumulo_negativo=0;
  6. acumulo_positivo=0;
  7. golpe_anterior=0;
  8. xryu=0;
  9. xken=0;
#AiF8UL Java 1 minute ago
Compilation error
  1. #include <stdio.h>
  2.  
  3. int main (void)
  4. {
  5. puts ("Hello, World!");
  6. return 0;
  7. }
#3T6wz0 C++14 32 seconds ago
Success
  1. #include <bits/stdc++.h>
  2.  
  3. using namespace std;
  4.  
  5. #define err(x) cerr << #x << " " << x << endl;
  6.  
  7. #define rep(i, begin, end) for(__typeof(begin) i = begin - (begin > end); i != end - (begin > end); i += 1 - 2*(begin > end))
  8.  
  9. #define PI acos(-1)
#whhRse Java 1 minute ago
Compilation error
  1. #include <iostream>
  2. using namespace std;
  3. int main()
  4. {
  5.  
  6.  
  7.  
  8. int** a; //a - вказівник на масив вказівників
  9. a = new int*[2]; //виділення пам’яті для масиву вказівників на n рядків
#FQpLOT C 1 minute ago
Compilation error
  1. / C code
  2. // This program will sum two integer numbers to yield a third integer number.
  3. // Developer: Faculty CMIS102
  4. // Date: Jan 31, XXXX
  5.  
  6. #include <stdio.h>
  7. int main ()
  8. {
  9. /* variable definition: */
#tshEmD C 49 seconds ago
Success
  1. #include<stdio.h>
  2.  
  3. int main() {
  4. int i, j;
  5. char ch = '$';
  6.  
  7. for (i = 4; i >= 0; i--) {
  8. printf("\n");
  9. for (j = 0; j < i; j++)
#Onr7fj Java 1 minute ago
Compilation error
  1. int main (void)
  2. {
  3. puts ("Hello, World!");
  4. return 0;
  5. }
#Og4cP9 Python 54 seconds ago
Runtime error
  1. def is_pangram(phrase):
  2. alphabet = "abcdefghijklmnopqrstuvwxyz"
  3. return not (set(alphabet) - set(phrase))
  4.  
  5. s-str(is_pangram('vyshakh'))
  6. print s
  7.  
  8. # your code goes here
#lnw1tP PHP 2 seconds ago
Runtime error
  1. <?php
  2.  
  3. // your code goes here
  4. $ar = array();
  5. $ar[] = 'one';
  6. $ar[] = 'two';
  7. $ar[] = 'three';
  8.  
  9. foreach($ar as $i => $a)
#RKN0ms C 2 minutes ago
Compilation error
  1. / C code
  2. // This program will sum two integer numbers to yield a third integer number.
  3. // Developer: Faculty CMIS102
  4. // Date: Jan 31, XXXX
  5.  
  6. #include <stdio.h>
  7. int main ()
  8. {
  9. /* variable definition: */
#wLp14U Java 2 minutes ago
Compilation error
/* package whatever; // don't place package name! */ import java.util.*; import java.lang.*; import java.io.*; /* Name of the class has to be "Main" only if the class is public. */ class Ideone {
#3g01J8 C 7 seconds ago
Success
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int *x, *y;
  5. x = &(y);
  6. y = &(x);
  7. printf("%u",&x);
  8. //printf(*y);
  9. // your code goes here
#CbVlH9 Java 2 minutes ago
Success
  1. import java.util.*;
  2. import java.lang.*;
  3. import java.io.*;
  4.  
  5. class Ideone
  6. {
  7. public static void main (String[] args) throws java.lang.Exception
  8. {
#qD9Efr C 2 minutes ago
Success
  1. /*
  2.  * Sun's Java is often touted as being "portable", even though my code won't
  3.  * suddenly become uber-portable if it's in Java. Truth is, Java's one of
  4.  * the most ugly, slow, and straitjacketed languages ever. It's popular
  5.  * mainly because people hear the word "portable" and go "ewww".
  6.  *
  7.  * This program, then, is dedicated to bringing about the death of Java. We
  8.  * good coders have been oppressed for too long by the lame language
  9.  * decisions of pointy-haired bosses and academics who should know better.
#kjzpj2 C 2 minutes ago
Compilation error
  1. #include <stdio.h>
  2. int main ()
  3. {
  4. int students, exams, nr;
  5. printf("Enter Student Number \n");
  6. scanf("%d", &nr);
  7. for (students = 0; students < nr; students++)
  8. {
  9. /* variable definition: */
#QGZYkw C++ 5.1 3 minutes ago
Success
  1. #include <string>
  2. #include <iostream>
  3. #include <iomanip>
  4. using namespace std;
  5. int main()
  6. {
  7. string month;
  8. int year;
  9. double total;
#FziL5O Java 3 minutes ago
Compilation error
  1. G = new array(n)
  2. for i in [1:n]
  3. W[i] = new vertex
  4. W[i].color = WHITE
  5. W[i].adj = []
  6. W[i].align = nil # true -> babyface, false -> heel
  7. # Connect vertexes in W
  8. for i in [1:r]
  9. (a,b) = R[i]
#Qp2v3D C++ 5.1 11 seconds ago
Compilation error
  1. #include <iostream>
  2. #include <map>
  3. #include <cstdlib>
  4. using namespace std;
  5.  
  6. int main() {
  7. map<string,int> variables;
  8.  
  9. string line[2000];
#rAQGnd Java 3 minutes ago
Compilation error
  1. #include <string>
  2. #include <iostream>
  3. #include <iomanip>
  4. using namespace std;
  5. int main()
  6. {
  7. string month;
  8. int year;
  9. double total;
#nqMOUS C 4 seconds ago
Compilation error
  1. #include <stdio.h>
  2. main(int i)
  3. {
  4. int i;
  5. i=1
  6. while(i>5)
  7. {
  8. printf("%d\n",i);
  9. i++;
#NDS0NX C 3 minutes ago
Success
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. return 0;
  6. }