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

#Q81bSZ C++ 5.1 1 hour ago
Success
  1. // A Dynamic Programming based program to check whether a string C is
  2. // an interleaving of two other strings A and B.
  3. #include <iostream>
  4. #include <string.h>
  5. using namespace std;
  6.  
  7. // The main function that returns true if C is
  8. // an interleaving of A and B, otherwise false.
  9. bool isInterleaved(char* A, char* B, char* C)
#WTTRuy PHP 1 hour ago
Success
  1. <?php
  2.  
  3. // your code goes here
  4. extract($row);
#hZ0Alf C++14 1 hour ago
Success
  1. #include <iostream>
  2. #include<bits/stdc++.h>
  3. using namespace std;
  4.  
  5. void qsortfirst(pair<int,int> p[],int low,int up){
  6.  
  7. if(low>=up)
  8. return;
  9. pair<int,int> temp;
#rs6ohC Java 1 hour 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. {
#EBBS8M Java 1 hour 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. {
#9zvzXf PHP 1 hour ago
Success
  1. <?php
  2.  
  3.  
  4. $input = '2.5+1.2=';
  5. $inputLength = mb_strlen($input);
  6.  
  7. $number = 0; /* Текущее число, которое набирает пользователь */
#9NWL64 Python 1 hour ago
Success
  1. data = [("1", "EL ENCANTO", "1"),
  2. ("2", "LA CHORRERA", "1"),
  3. ("3", "LA PEDRERA", "1"),
  4. ("4", "LA VICTORIA", "1"),
  5. ("5", "LETICIA", "1"),
  6. ("6", "MIRITI", "1"),
  7. ("7", "PUERTO ALEGRIA", "1"),
  8. ("8", "PUERTO ARICA", "1"),
  9. ("9", "PUERTO NARIÑO", "1"),
#jrIHR4 Java 1 hour ago
Success
  1. import java.util.*;
  2. import java.lang.*;
  3. import java.io.*;
  4.  
  5. class Ideone{
  6. public static void main (String[] args) throws java.lang.Exception{
  7. int x=5;
  8. int[] arr=new int[x];
  9. arr[0]=1;
#1Demet C++14 1 hour ago
Success
  1. #include <iostream>
  2. #include<bits/stdc++.h>
  3. using namespace std;
  4.  
  5. void qsortfirst(pair<int,int> p[],int low,int up){
  6.  
  7. if(low>=up)
  8. return;
  9. pair<int,int> temp;
#XVAOCj C++14 1 hour ago
Compilation error
  1. #include <iostream>
  2.  
  3. using namespace std;
  4. int main() {
  5. cout<< "Insira sua nota";
  6. cin>> nota
  7.  
  8.  
  9. }
#jn696y Smalltalk 1 hour ago
Success
  1. exampleWithNumber: x
  2. | y |
  3. true & false not & (nil isNil) ifFalse: [self halt].
  4. y := self size + super size.
  5. #($a #a "a" 1 1.0)
  6. do: [ :each |
  7. Transcript show: (each class name);
  8. show: ' '].
  9. ^x < y
#lWmtdo C++14 1 hour ago
Compilation error
  1. #include <iostream>
  2.  
  3. using namespace std;
  4. int main() {
  5. cout<< "Insira sua nota";
  6. cin>> nota
  7. if nota >=6.0
  8.  
  9. }
#ze374T C++14 1 hour ago
Compilation error
  1. #include <iostream>
  2. #include<bits/stdc++.h>
  3. using namespace std;
  4.  
  5. void qsortfirst(pair<int,int> p[],int low,int up){
  6.  
  7. if(low>=up)
  8. return;
  9. pair<int,int> temp;
#ObFelI PHP 1 hour ago
Success
  1. <?php
  2.  
  3.  
  4. $input = '2.5+1.2=';
  5. $inputLength = mb_strlen($input);
  6.  
  7. $number = 0; /* Текущее число, которое набирает пользователь */
#jDSNH4 C++14 1 hour ago
Compilation error
  1. #include <iostream>
  2. #include<bits/stdc++.h>
  3. using namespace std;
  4.  
  5. void qsortfirst(pair<int,int> p[],int low,int up){
  6.  
  7. if(low>=up)
  8. return;
  9. pair<int,int> temp;
#qM6zrB Java 1 hour 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. {
#vMVhGo Java 1 hour ago
Success
  1. import java.util.*;
  2. import java.lang.*;
  3. import java.io.*;
  4.  
  5. class Ideone{
  6. public static void main (String[] args) throws java.lang.Exception{
  7. int x=5;
  8. int[] arr=new int[x];
  9. for(int n1=1;n1<=x;n1++){
#LTgHip C++14 1 hour ago
Runtime error
  1. //============================================================================
  2. // Name : Shoflk Kalba.cpp
  3. // Author : A7mD Sa3iiD
  4. // Version :
  5. // Copyright : Your copyright notice
  6. // Description : Hello World in C++, Ansi-style
  7. //============================================================================
  8.  
  9. #include <bits/stdc++.h>
#Yf3riy Java 1 hour ago
Success
  1. import java.util.*;
  2. import java.lang.*;
  3. import java.io.*;
  4.  
  5. class Ideone{
  6. public static void main (String[] args) throws java.lang.Exception{
  7. int x=5;
  8. int[] arr=new int[5];
  9. for(int n1=1;n1<=x;n1++){
#Ci9KAO PHP 1 hour ago
Success
  1. <?php
  2.  
  3.  
  4. $input = '22.5+5.1=';
  5. $inputLength = mb_strlen($input);
  6. $num = 0;
#wiNiai C# 1 hour ago
Success
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4.  
  5. public class Test
  6. {
  7. static void Main()
  8. {
  9. int[] numbers = {3,9,8,4,5,7,10};
#UEkj7B C 1 hour ago
Compilation error
  1. int m=1711276033,N=1,t[1<<25]={2},a,*p,i,e=39717691,s,c,U=1;g(d,h){for(i=s;i<1<<
  2. 24;i*=2)d=d*1LL*d%m;for(p=t;p<t+N;p+=s)for(i=s,c=1;i;i--)a=p[s]*(h?c:1LL)%m,p[s]
  3. =(m*1U+*p-a)*(h?1LL:c)%m,*p=(a*1U+*p)%m,p++,c=c*1LL*d%m;}main(){while(e/=2){N*=2
  4. ;U=U*1LL*(m+1)/2%m;for(s=N;s/=2;)g(40,0);for(p=t;p<t+N;p++)*p=*p*1LL**p%m*U%m;
  5. for(s=1;s<N;s*=2)g(983983719,1);for(a=0,p=t;p<t+N;)a+=*p<<(e&1),*p++=a%10,a/=10;
  6. }while(!*--p);for(t[0]--;p>=t;)putchar(48+*p--);}
#W4Hekt C++14 1 hour ago
Success
  1. #include <cstdio>
  2. #include <clocale>
  3.  
  4. using namespace std;
  5.  
  6. void printfcomma (int n) {
  7. if (n < 1000) {
  8. printf ("%d", n);
  9. return;
#q8MiUV C++14 1 hour ago
Compilation error
  1. #include <iostream>
  2. #include<bits/stdc++.h>
  3. using namespace std;
  4. pair<int,int> p;
  5. void qsortfirst(p[],int low,int up){
  6.  
  7. if(low>=up)
  8. return;
  9. pair<int,int> temp;
#2nHVKE C++ 1 hour ago
Success
  1. /*
  2.  
  3. * Author: Brady Moore
  4.  
  5. * Date Written: 08/24/16
  6.  
  7. * Course: CMPSCI235
  8.  
  9. * Instructor: Dr. McFarland
#08bhFa C++14 1 hour ago
Compilation error
  1. #include <iostream>
  2. #include<bits/stdc++.h>
  3. using namespace std;
  4. pair<int,int> p[];
  5. void qsortfirst(p[],int low,int up){
  6.  
  7. if(low>=up)
  8. return;
  9. pair<int,int> temp;
#xO66rS Python 1 hour ago
Success
  1. for i in range(6,3,-1):
  2. print i
#Ep36ez C 1 hour ago
Success
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4.  
  5. int i;\
  6. int j;
  7.  
  8. int num = 0;
  9.  
#kotBck Java 1 hour 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. {
#rmkM6H Java 1 hour 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. {