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

#zNuit3 C++ 5.1 15 seconds ago
Success
  1. #include <stdio.h>
  2. #include <iostream>
  3. #include <vector>
  4. #include <set>
  5. #include <map>
  6. #include <queue>
  7. #include <stack>
  8. #include <string>
  9. #include <sstream>
#Z2WMma Java 18 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. {
#ITOUxb Perl 18 seconds ago
Success
  1. #!/usr/bin/perl
  2. # your code goes here
  3.  
  4.  
  5. sub test {
  6. 'Oops'
  7. }
  8.  
  9. $a = {test => 'Test'}
#Rl8L4K C++ 5.1 23 seconds ago
Success
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. cout<< sizeof(long double);
  7. return 0;
  8. }
#MTKJmh C 23 seconds ago
Compilation error
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. a int
  6. a = 5
  7. return 0;
  8. }
#6E0sII Java 39 seconds ago
Compilation error
  1. print "Hello, World!"
#lEfjIa C++ 5.1 1 minute ago
Success
  1. #include <stdio.h>
  2. #include <iostream>
  3. #include <vector>
  4. #include <set>
  5. #include <map>
  6. #include <queue>
  7. #include <stack>
  8. #include <string>
  9. #include <sstream>
#Zvt8lC JavaScript (rhino) 1 minute ago
Runtime error
  1.  
  2. var abc=new RegExp("e"); document.write(abc.test("Learning Javascript"));
#GhXrUT C 1 minute ago
Success
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. printf("Hellow, World!");
  5. return 0;
  6. }
#gjFW97 C 1 minute ago
Compilation error
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. a, b int
  6. a = 5 + 1
  7. b = a
  8. printf(a, b)
  9. return 0;
#NhiNAd C++ 5.1 1 minute ago
Success
  1. #include <stdio.h>
  2. #include <iostream>
  3. #include <vector>
  4. #include <set>
  5. #include <map>
  6. #include <queue>
  7. #include <stack>
  8. #include <string>
  9. #include <sstream>
#naMwea C 1 minute ago
Success
  1. #include <math.h>
  2. #include <stdio.h>
  3. #include <string.h>
  4. #include <stdlib.h>
  5. #include <assert.h>
  6. #include <limits.h>
  7. #include <stdbool.h>
  8.  
  9. int main(){
#Ru2T84 C 1 minute ago
Success
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code here
  5. double a,b,c;
  6. scanf("%d %d",&a,&b);
  7. c=a+b;
  8. printf("\n%d",c);
#BOv8xW C++ 5.1 1 minute ago
Compilation error
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int testBelow255 = 0xfe;
  6. int test255 = 0xff;
  7. int test256 = 0x100;
  8. int testAbove255 = 0xa19;
  9. int test65535 = 0xffff;
#RBnA52 C# 1 minute ago
Compilation error
  1. class Program {
  2. static void Main() {
  3. string [] imiona = new string [4];
  4. imiona[0]="Ewelina";
  5. imiona[1]= "Darek";
  6. imiona[2] = "Ania";
  7. imiona[3] = "Dawid";
  8. for (int i = imiona.Length-1; i >= 0; i--) {
  9. Console.WriteLine(imiona[i]);
#YKjgmm C++ 5.1 2 minutes ago
Time limit exceeded
  1. #include <stdio.h>
  2. #include <iostream>
  3. #include <vector>
  4. #include <set>
  5. #include <map>
  6. #include <queue>
  7. #include <stack>
  8. #include <string>
  9. #include <sstream>
#gVmP2b C 1 minute ago
Success
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int i;
  5. float n=4,c=1;
  6. float ans=0;
  7. for(i=1; i<=4; i++) {
  8. ans = ans*2 + (c/n);
  9. printf("%f\n",ans);
#59NJLz C 2 minutes ago
Compilation error
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. var a int
  6. var b int
  7. a = 5 + 1
  8. b = a
  9. printf(a, b)
#S8cftD C 44 seconds ago
Success
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. printf("Hello World!");
  5. return 0;
  6. }
#eD1hvs C++ 5.1 2 minutes ago
Success
  1. #include <stdio.h>
  2. #include <iostream>
  3. #include <vector>
  4. #include <set>
  5. #include <map>
  6. #include <queue>
  7. #include <stack>
  8. #include <string>
  9. #include <sstream>
#5ICpAB C++14 7 seconds ago
Success
  1. #include <iostream>
  2. #include <regex>
  3. using namespace std;
  4.  
  5. int main() {
  6. // your code goes here
  7. std::regex mask("(skey)");
  8. std::smatch sm;
  9. std::string tmp = "skey";
#jSYwvt C++ 5.1 2 minutes ago
Success
  1. #include <stdio.h>
  2. #include <iostream>
  3. #include <vector>
  4. #include <set>
  5. #include <map>
  6. #include <queue>
  7. #include <stack>
  8. #include <string>
  9. #include <sstream>
#J6YAQJ R 1 minute ago
Success
  1. # your code goes here
  2. ccccccaaaaaCLxeddbbADLxyccccaiiiiggrLykjjjjhhDLxyccccaiiiiggrxebbbbbbbbbbbbbbbbbbbbbbbbbbbCLxycbbigtLxcCL
#B6LhC6 C 2 minutes ago
Success
  1. #include <stdlib.h>
  2. #include <stdio.h>
  3. #include <complex.h>
  4.  
  5.  
  6. int main(void)
  7. {
  8. size_t n = 2, m = 3, o = 4;
#4NSpJS R 3 minutes ago
Success
  1. # your code goes here
  2.  
  3. ccccccaaaaaCLxeddbbADLxyccccaiiiiggrLykjjjjhhDLxyccccaiiiiggrxebbbbbbbbbbbbbbbbbbbbbbbbbbbCLxycbbigtLxcCL
#BmWZb7 C 2 minutes ago
Success
  1. #include <stdio.h>
  2. int main(void) {
  3. printf("Hello, World!");
  4. printf("Goodbye!");
  5. return 0;
  6. }
#0CtURx C 55 seconds ago
Success
  1. #include <stdio.h>
  2. int main(void) {
  3. int n;
  4. printf(">");
  5. scanf("%d",&n);
  6. printf(" %d", n);
  7. if ( n == 0 ) {
  8. goto R;
  9. }
#gzl96k C++ 5.1 3 minutes ago
Time limit exceeded
  1. #include <stdio.h>
  2. #include <iostream>
  3. #include <vector>
  4. #include <set>
  5. #include <map>
  6. #include <queue>
  7. #include <stack>
  8. #include <string>
  9. #include <sstream>
#qmcfcf 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.  
  7. /* Name of the class has to be "Main" only if the class is public. */
  8. class Ideone
  9. {
#mjY38y C 3 minutes ago
Success
  1. #include <math.h>
  2. #include <stdio.h>
  3. #include <string.h>
  4. #include <stdlib.h>
  5. #include <assert.h>
  6. #include <limits.h>
  7. #include <stdbool.h>
  8.