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...

#qUXwac C++ 10 seconds ago
Compilation error
  1. #include<iostream>
  2. using namespace std;
  3. int main()
  4. {
  5. cout<<"hola que tal"<<end;
  6. return 0;
  7. }
#JPd8eL C++14 14 seconds ago
Compilation error
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. cout >> ghdfuosg;
  6. return 0;
  7. }
#lGIRCC C++ 14 seconds ago
Success
  1. #include <iostream>
  2. #include <math.h>
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.  
  8. char firstHD = 'r';
  9.  
#L2REtP Java 17 seconds 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. {
#sFduyJ PHP 27 seconds ago
Success
  1. <?php
  2. class Root {
  3.  
  4. public $domainList = array();
  5.  
  6. public function addDomain($domainName)
  7. {
  8. $domain = new Domain($domainName);
  9. $this->domainList[$domainName] = $domain;
#DA6hL2 C++14 28 seconds ago
Success
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. for (int i = 1; i <= 100; ++i) {
  6. if (i % 3 == 0 && i % 5 == 0) {
  7. std::cout << "FizzBuzz" << std::endl;
  8. } else if ( i % 3 == 0) {
  9. std::cout << "Fizz" << std::endl;
#HS6re3 Java 30 seconds 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. {
#d19gRM C 30 seconds ago
Success
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. printf("%c", 0x46697a7a);
  5. return 0;
  6. }
#8rZ1d3 Java 36 seconds ago
Compilation error
  1. print("alô mundo")
#j00PQJ Java 51 seconds 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. {
#3SAJGM C 53 seconds ago
Success
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int uf = 0xFFC00000;
  5. int sign = 0x7FFFFFFF; //Sign bit set to 0.
  6. int NaN = 0x7F000000; //Exponent bits all set to 1;
  7. if ((NaN & uf) == NaN){ //Check if exponent bits are all 1's
  8. printf("NaN: %d", NaN);
  9. printf("NaN & uf: %d", NaN & uf);
#4xqJ3S C 59 seconds ago
Runtime error
  1. #include <stdio.h>
  2. main(t,_,a)
  3. char *a;
  4. {
  5. return!0<t?t<3?main(-79,-13,a+main(-87,1-_,main(-86,0,a+1)+a)):
  6. 1,t<_?main(t+1,_,a):3,main(-94,-27+t,a)&&t==2?_<13?
  7. main(2,_+1,"%s %d %d\n"):9:16:t<0?t<-72?main(_,t,
  8. "@n'+,#'/*{}w+/w#cdnr/+,{}r/*de}+,/*{*+,/w{%+,/w#q#n+,/#{l+,/n{n+,/+#n+,/#\
  9. ;#q#n+,/+k#;*+,/'r :'d*'3,}{w+K w'K:'+}e#';dq#'l \
#UbHBuW Java 1 minute ago
Compilation error
  1. /*
  2. Codigo para la solucion de ecuaciones cuadraticas
  3. Write by @r4z0r_bl4ck
  4. */
  5.  
  6. import java.util.Scanner;
  7. public class ecuacion_cuadratica {
  8. Scanner lea = new Scanner (System.in);
  9. public static void main (String[]args) {
#fmzzNW C 1 minute ago
Success
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. printf("%c", ((15%3)*0x100000000)&0x46697a7a);
  5. return 0;
  6. }
#RFiUVI Java 1 minute 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. {
#rmEE6U Java 1 minute ago
Compilation error
  1. <!DOCTYPE html>
  2. <head>
  3. </head>
  4. <body>
  5. <script type="text/javascript">
  6. var tablica=new Array (5)
  7. for(var i=0;i<5;i++)
  8. {
  9. tablica[i]=prompt("Podaj liczbę:" +i+ " element: ");
#htMRbG Brainf**k 1 minute ago
Success
  1. +++++++ [ > ++++++++++ < -] > ++ .
#yCSJaC Objective-C 1 minute ago
Success
  1. #import <objc/objc.h>
  2. #import <objc/Object.h>
  3. #import <Foundation/Foundation.h>
  4. #import <math.h>
  5.  
  6. @implementation TestObj
  7. int main()
  8. {
  9. int opctiroparabolico;
#OxLEzl Java 1 minute 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. {
#e4ryHQ Java 34 seconds ago
Success
  1. import java.util.*;
  2.  
  3. public class Main {
  4.  
  5. public static void main(String[] args) {
  6.  
  7. Scanner stdin = new Scanner(System.in);
  8. int n1 = stdin.nextInt();
  9. int n2 = stdin.nextInt();
#Wl2AtX PHP 1 minute ago
Success
  1. <?php
  2. class Root {
  3.  
  4. public $domainList = array();
  5.  
  6. public function addDomain($domainName)
  7. {
  8. $domain = new Domain($domainName);
  9. $this->domainList[$domainName] = $domain;
#KbIBak Java 1 minute ago
Compilation error
  1. import java.util.Scanner;
  2. class Rotate {
  3.  
  4. /**
  5.   * @param args the command line arguments
  6.   */
  7. public static void main(String[] args) {
  8. // TODO code application logic here
  9. Scanner sc=new Scanner(System.in);
#CKN7ZT Java 1 minute 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. {
#0jJZZR C++14 48 seconds ago
Success
  1. #include <cstdio>
  2. #include <algorithm>
  3. #include <set>
  4. #include <queue>
  5.  
  6. using namespace std;
  7.  
  8. const int maxn = 100100;
#SxjcRA Objective-C 2 minutes ago
Success
  1. #import <objc/objc.h>
  2. #import <objc/Object.h>
  3. #import <Foundation/Foundation.h>
  4. #import <math.h>
  5.  
  6. @implementation TestObj
  7. int main()
  8. {
  9. int opctiroparabolico;
#i9N2YV C++ 2 minutes ago
Success
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6.  
  7. double price, totalTax, totalSale;
  8. double stateTax = .04;
  9. double countyTax = .02;
#MXsbmw Java 2 minutes ago
Compilation error
  1. import java.util.Scanner;
  2. class Rotate {
  3.  
  4. /**
  5.   * @param args the command line arguments
  6.   */
  7. public static void main(String[] args) {
  8. // TODO code application logic here
  9. Scanner sc=new Scanner(System.in);
#G9jYSU C 2 minutes ago
Success
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. printf("%i - %i", '[', ']');
  5. return 0;
  6. }
#EF6tLk C++ 5.1 1 minute ago
Compilation error
  1. #include <iomanip>
  2. #include <string>
  3.  
  4. using namespace std;
  5.  
  6. void ToXmlStream(std::ostream& os)
  7. {
  8. std::string strQuery;
  9. os << "<query>" << strQuery << "</query>";
#XthpPq Java 2 minutes ago
Compilation error
  1. 56 88 0 88 88 27